Commit c4d26884 by BellCodeEditor

auto save

parent da20cb36
Showing with 2 additions and 2 deletions
......@@ -45,7 +45,7 @@ while True:
if event.key == locals.K_DOWN and setheading != "up":
setheading = 'down'
snake_head = down
# 设置贪吃蛇的头部坐标
if setheading == "right":
x += 30
......@@ -55,7 +55,7 @@ while True:
y -= 30
elif setheading == "down":
y += 30
elif setheading == "A":
elif setheading == "a":
y = 0
position.append((x, y))
......
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