Commit 2407d745 by BellCodeEditor

save project

parent b52e5e80
Showing with 1 additions and 1 deletions
...@@ -41,7 +41,7 @@ while True: ...@@ -41,7 +41,7 @@ while True:
if event.key==locals.K_d and setheading!="left": if event.key==locals.K_d and setheading!="left":
setheading='right' setheading='right'
snake_head=right snake_head=right
if event.key==locals.K_a and setheading!="right" if event.key==locals.K_a and setheading!="right":
setheading='left' setheading='left'
snake_head=left snake_head=left
if event.key==locals.K_w and setheading!="down": if event.key==locals.K_w and setheading!="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