Commit 67b1450c by BellCodeEditor

auto save

parent 6d3d2ccf
Showing with 1 additions and 0 deletions
...@@ -70,6 +70,7 @@ while True: ...@@ -70,6 +70,7 @@ while True:
# 将果实画上去 # 将果实画上去
screen.blit(food, (food_x, food_y)) screen.blit(food, (food_x, food_y))
info='Score'+str(score)
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(10) FPSCLOCK.tick(10)
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