Commit 1fa59529 by BellCodeEditor

save project

parent 554ce4c1
Showing with 2 additions and 2 deletions
...@@ -48,8 +48,8 @@ while True: ...@@ -48,8 +48,8 @@ while True:
else: else:
y-=30 y-=30
snake_hard = up snake_hard = up
if positine[-1] == apple_x, apple_y: if positine[-1] == apple_x,apple_y:
apple_x, apple_y = apple_x,apple_y =
positine.append((x,y)) positine.append((x,y))
positine.pop(0) positine.pop(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