Commit 06e4ed6c by BellCodeEditor

save project

parent 38c7cd43
Showing with 3 additions and 2 deletions
import pygame import pygame
from pygame import locals from pygame import locals # 导入
pygame.init() # 初始化 pygame.init() # 初始化
score = 0 score = 0
...@@ -28,4 +28,4 @@ while True: ...@@ -28,4 +28,4 @@ while True:
screen.blit(score_text,(350,70)) screen.blit(score_text,(350,70))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
clock.tick(FPS) clock.tick(FPS)
\ 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