Commit 84b35131 by BellCodeEditor

save project

parent 9e837f8f
Showing with 1 additions and 0 deletions
...@@ -60,6 +60,7 @@ while True: ...@@ -60,6 +60,7 @@ while True:
if x==apple_x and y ==apple_y: if x==apple_x and y ==apple_y:
apple_x=randint(0,21)*30 apple_x=randint(0,21)*30
apple_y=randint(0,15)*30 apple_y=randint(0,15)*30
score+=10
else: else:
position.pop(0) position.pop(0)
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
......
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