Commit f56bf8d3 by BellCodeEditor

auto save

parent 9e5b043c
Showing with 2 additions and 3 deletions
...@@ -11,10 +11,9 @@ food=pygame.image.load('apple.png') ...@@ -11,10 +11,9 @@ food=pygame.image.load('apple.png')
body=pygame.image.load('body.png') body=pygame.image.load('body.png')
x,y = 240,120 x,y = 240,120
po
while True: while True:
for event in pygame.event.get(): \if event.type == locals.QUIT:
if event.type == locals.QUIT:
exit() exit()
x+=30 x+=30
......
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