Commit 4e517b4f by BellCodeEditor

save project

parent f9d2a10a
Showing with 6 additions and 0 deletions
...@@ -156,6 +156,12 @@ while True: ...@@ -156,6 +156,12 @@ while True:
if gameover == True: if gameover == True:
text = font_restart.render("游戏结束,按任意键开始",True,(0,0,0)) text = font_restart.render("游戏结束,按任意键开始",True,(0,0,0))
screen.blit(text, (20, 250)) screen.blit(text, (20, 250))
score = 0
num_list= []
for i in range(25):
num_list.append([0] * 15)
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
clock.tick(FPS) clock.tick(FPS)
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