Commit 1dc9b268 by BellCodeEditor

save project

parent 782a9c2b
Showing with 4 additions and 2 deletions
...@@ -7,4 +7,6 @@ pygame.init() ...@@ -7,4 +7,6 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((660,800)) screen = pygame.display.set_mode((660,800))
while True: while True:
for event in for event in pygame.event.get():
\ No newline at end of file if event.tpye == locals.QUIT:
exit()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment