Commit 4402e075 by BellCodeEditor

save project

parent c700965e
Showing with 2 additions and 0 deletions
...@@ -35,3 +35,4 @@ while True: ...@@ -35,3 +35,4 @@ while True:
screen.blit(food, (360, 300)) screen.blit(food, (360, 300))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3)
\ 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