Commit 840fe6da by BellCodeEditor

save project

parent 2878d2b7
Showing with 3 additions and 1 deletions
......@@ -53,7 +53,7 @@ while True:
else:
y += 30
position.append((x, y))
if x < 0 or
if x ==apple_x and y ==apple_y:
apple_x=random.randint(0,21)*30
apple_y=random.randint(0,15)*30
......@@ -137,3 +137,5 @@ while True:
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