Commit 25a079f9 by BellCodeEditor

save project

parent 87b487e7
Showing with 2 additions and 0 deletions
......@@ -47,6 +47,8 @@ while True:
y+=30
if setheading=='up':
y-=30
if y<0 or y>480 or x<0 or x>630:
exit()
if x==apple_x and y==apple_y:
apple_x=random.randint(1,22)
apple_y=random.randint(1,16)
......
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