Commit 1ac62d40 by BellCodeEditor

save project

parent 30ac5bae
Showing with 1 additions and 0 deletions
...@@ -36,6 +36,7 @@ while True: ...@@ -36,6 +36,7 @@ while True:
if event.key==locals.K_LEFT and setheading != "right": if event.key==locals.K_LEFT and setheading != "right":
setheading="left" setheading="left"
snake_head=left snake_head=left
if event.key==locals.K_UP and setheading != "down": if event.key==locals.K_UP and setheading != "down":
setheading="up" setheading="up"
snake_head=up snake_head=up
......
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