From bfb05a6ae3b239a24f9c83fac8222288ecb897ee Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 12 Jun 2022 08:29:52 +0800 Subject: [PATCH] save project --- my_Tetris.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/my_Tetris.py b/my_Tetris.py index 0d65bac..1f4b936 100644 --- a/my_Tetris.py +++ b/my_Tetris.py @@ -22,9 +22,10 @@ while True: exit() # 将背景图画上去 - ??? + screen.blit(background,(0,0)) # 得分 - ??? + score_text=font.render(str(score),True,(255,255,255)) + screen.blit(score_text,(370,70)) # 刷新画面 pygame.display.update() clock.tick(FPS) -- libgit2 0.25.0