Commit 5c00cedd by BellCodeEditor

save project

parent 6d5d5c8d
Showing with 1 additions and 1 deletions
...@@ -42,7 +42,7 @@ while True: ...@@ -42,7 +42,7 @@ while True:
if event.key == locals.K_DOWN and snake_head != up: if event.key == locals.K_DOWN and snake_head != up:
snake_head = down snake_head = down
if event.key == locals.K_c and snake_head != up: if event.key == locals.K_c and snake_head != up:
ticktime=+=10 ticktime+=10
# 设置贪吃蛇的头部坐标 # 设置贪吃蛇的头部坐标
if snake_head == right: if snake_head == right:
......
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