Commit c69a6e39 by BellCodeEditor

save project

parent 29f63f17
Showing with 8 additions and 0 deletions
...@@ -136,7 +136,15 @@ for i, row in zip (range(1,26), num_list): ...@@ -136,7 +136,15 @@ for i, row in zip (range(1,26), num_list):
if gameover == True:
text = font_restart.render("游戏失败,按任意键开始",True,(0,0,0))
screen.blit(text,(20,250))
score = 0
num_list = []
for i in range(25):
num_list.append([0] * 15)
# 得分 # 得分
text_surface = font.render(str(score), True, (0, 0, 0)) text_surface = font.render(str(score), True, (0, 0, 0))
screen.blit(text_surface, (350,70)) screen.blit(text_surface, (350,70))
......
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