Commit a71eb8c7 by BellCodeEditor

auto save

parent f887debe
Showing with 1 additions and 1 deletions
......@@ -57,7 +57,7 @@ while True:
position.append((x, y))
position.pop(0)
if x == apple_x and y == apple_y:
if x == (apple_x*30) and y == (apple_y*30):
apple_x = random.randint(0,22)
apple_y = random.randint(0,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