Commit fd857ecd by BellCodeEditor

save project

parent 9b670e27
Showing with 2 additions and 1 deletions
......@@ -38,7 +38,8 @@ while True:
if event.key == locals.K_UP and setheading != "down":
setheading = 'up'
snake_head = up
if event.key == locals.K_DOWN and setheading != "up":
if event.key == locals.K_DOWN and sethead
ng != "up":
setheading = '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