Commit c812ac2b by BellCodeEditor

save project

parent 0d81b530
Showing with 6 additions and 2 deletions
......@@ -7,5 +7,8 @@ pygame.init()
# 创建一个窗口
scraen=pygame.display.set_mode((600,480))
while True:
for event in pygame.event.get()
event.type
for event in pygame.event.get():
if event.type == 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