Commit df23dbcf by BellCodeEditor

save project

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