Commit c2122c74 by BellCodeEditor

save project

parent 0c92522b
Showing with 3 additions and 2 deletions
...@@ -71,6 +71,7 @@ while True: ...@@ -71,6 +71,7 @@ while True:
# 将果实画上去 # 将果实画上去
screen.blit(food, (food_x, food_y)) screen.blit(food, (food_x, food_y))
info
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3) FPSCLOCK.tick(20)
\ No newline at end of file \ No newline at end of file
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