Commit 8ce0309c by BellCodeEditor

save project

parent a3640a01
Showing with 2 additions and 1 deletions
...@@ -3,7 +3,7 @@ from pygame import locals ...@@ -3,7 +3,7 @@ from pygame import locals
# 初始化pygame,为使用pygame做准备 # 初始化pygame,为使用pygame做准备
pygame.init() pygame.init()
a=pygame.display.set_mode((600,480)) a=pygame.display.set_mode((600,480))
while Turn: while True:
for a in pygame.event.get(): for a in pygame.event.get():
if a.type ==locals.QUIT: if a.type ==locals.QUIT:
exit 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