Commit d0b0c033 by BellCodeEditor

save project

parent dbe01071
Showing with 1 additions and 1 deletions
...@@ -41,7 +41,7 @@ while True: ...@@ -41,7 +41,7 @@ while True:
setheading = 'up' setheading = 'up'
snake_head = up snake_head = up
if event.key == locals.K_DOWN and setheading !="UP": if event.key == locals.K_DOWN and setheading !="up":
setheading = 'down' setheading = 'down'
snake_head = down snake_head = down
x += 30 x += 30
......
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