Commit 4aa4d8b5 by BellCodeEditor

save project

parent 30bcd6a7
Showing with 1 additions and 0 deletions

2.05 KB | W: | H:

1.44 KB | W: | H:

apple.png
apple.png
apple.png
apple.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -47,6 +47,7 @@ while True: ...@@ -47,6 +47,7 @@ while True:
elif setheading == "down": elif setheading == "down":
y+=30 y+=30
if (x,y)==(apple_x,apple_y): if (x,y)==(apple_x,apple_y):
print()
apple_x = 30*random.randint(0,20) apple_x = 30*random.randint(0,20)
apple_y = 30*random.randint(0,16) apple_y = 30*random.randint(0,16)
else: else:
......
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