Commit 1dc126cf by BellCodeEditor

save project

parent e23004df
Showing with 3 additions and 3 deletions
...@@ -42,11 +42,11 @@ while True: ...@@ -42,11 +42,11 @@ while True:
setheading="down" setheading="down"
snake_head=down snake_head=down
if setheading=="right" if setheading=="right":
x+=30 x+=30
elif setheading=="left" elif setheading=="left":
x-=30 x-=30
elif 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