Commit 7eafea45 by BellCodeEditor

save project

parent 685699ef
Showing with 3 additions and 1 deletions
import random
import pygame
from pygame import locals
......@@ -72,4 +73,4 @@ while True:
screen.blit(food, (360, 300))
# 刷新画面
pygame.display.update()
FPSCLOCK.tick()
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