Commit 516f2ebf by BellCodeEditor

auto save

parent 3f07ae55
Showing with 1 additions and 1 deletions
...@@ -88,7 +88,7 @@ while True: ...@@ -88,7 +88,7 @@ while True:
shengcheng_y = random.randrange(0, 450, 30) shengcheng_y = random.randrange(0, 450, 30)
shengcheng = False shengcheng = False
screen.blit(food, (shengcheng_x, shengcheng_y)) screen.blit(food, (shengcheng_x, shengcheng_y))
if snake_x == shengcheng_x and snake_y == shengcheng_y: if snake_x == shengcheng_x and snake_y == shengcheng_y:
shengcheng = True shengcheng = True
......
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