Commit 2a66bfd7 by BellCodeEditor

save project

parent fdf8494c
Showing with 2 additions and 2 deletions
...@@ -39,9 +39,9 @@ while True: ...@@ -39,9 +39,9 @@ while True:
snake_head=down snake_head=down
if setheading=='right': if setheading=='right':
x+=30 x+=30
if setheading=='left': elif setheading=='left':
x-=30 x-=30
if setheading=='up': elif setheading=='up':
y-=30 y-=30
else: else:
y+=30 y+=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