Commit 8335ab1e by BellCodeEditor

auto save

parent e93252b8
Showing with 4 additions and 2 deletions
...@@ -36,4 +36,7 @@ while True: ...@@ -36,4 +36,7 @@ while True:
screen.blit(food, (360, 300)) screen.blit(food, (360, 300))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(50) FPSCLOCK.tick(50)
\ No newline at end of file import pygame
from pygame import locals
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