Commit daef76fe by BellCodeEditor

save project

parent de8c9434
Showing with 2 additions and 1 deletions
......@@ -9,5 +9,5 @@ screen=pygame.display.set_mode((800,660))
while True:
for event in pygame.event.get():
print(event)
if event.type==12:
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