Commit 15718a49 by BellCodeEditor

save project

parent abbda144
Showing with 1 additions and 1 deletions
...@@ -29,7 +29,7 @@ while True: ...@@ -29,7 +29,7 @@ while True:
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
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
......
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