Commit e685a7c2 by BellCodeEditor

save project

parent 311fc0de
Showing with 4 additions and 0 deletions
......@@ -30,6 +30,10 @@ while True:
snake_head = right
if event.key == locals.K_LEFT and setheading != "right"
setheading = 'left'
if event.key == locals.K_LEFT and setheading != "down"
setheading = 'down'
if event.key == locals.K_LEFT and setheading != "up"
setheading = 'up'
if setheading == "right"
x += 30
elif sethaeding == "left"
......
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