Commit ced025d2 by BellCodeEditor

save project

parent c9c6715b
Showing with 4 additions and 2 deletions
......@@ -11,6 +11,7 @@ while True:
for event in pygame.event.get():
print(event)
if event.type == locals.QUIT:
x -= 10
y -= 10
x -= 20
y -= 20
screen = pygame.display.set_mode((x,y))
screen = pygame.display.set_mode((x,y))
\ 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