Commit 95db8857 by BellCodeEditor

save project

parent af42fdd2
Showing with 7 additions and 7 deletions
......@@ -32,13 +32,13 @@ while True:
setheading = "down"
set_head = down
if setheading == "right":
x += 10
if setheading == "left":
x -= 10
if setheading == "up":
y += 10
if setheading == "down":
y -= 10
x += 30
elif setheading == "left":
x -= 30
elif setheading == "up":
y += 30
else:
y -= 30
screen.blit(background, (0, 0))
snakeList.pop(0)
snakeList.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