Commit aceaefa1 by BellCodeEditor

save project

parent f83743a9
Showing with 5 additions and 3 deletions
...@@ -6,5 +6,7 @@ pygame.init() ...@@ -6,5 +6,7 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
screen=pygame.display.set_mode((660,480),0,32) screen=pygame.display.set_mode((660,480),0,32)
while True: while True:
for event.type==locals.QULT: for event in pygame.event.get():
exit() if event.type==locals.QULT:
\ No newline at end of file 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