Commit 93cc313a by BellCodeEditor

save project

parent 6cc878c5
Showing with 6 additions and 0 deletions
......@@ -152,10 +152,15 @@ while True:
# 得分
text_surface = font.render(str(score), True, (0, 0, 0))
screen.blit(text_surface, (350,70))
# 刷新画面
if gameovor==True:
text=h.render("",True,(0,0,0))
screen.blit(text,(20,250))
screen=0
a=0
for i in range(25)
a.append([0]*15)
pygame.display.update()
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