Commit 1eabc105 by BellCodeEditor

save project

parent ddae7bdc
Showing with 6 additions and 6 deletions
......@@ -61,9 +61,9 @@ block_list =pygame.sprite.Group() # 创建精灵组
with open('record.txt','r',encoding='utf-8')as f:
content=f.read()
record=json.loads(content)
one=record["第名"]
two=record["第名"]
three=record["第名"]
one=record["第1名"]
two=record["第2名"]
three=record["第3名"]
while True:
for event in pygame.event.get():
......@@ -137,11 +137,11 @@ while True:
score_audio.play()
old_score=score
scoreSurf=basic_font.render("第名:"+str(score),True,(255,255,255))
scoreSurf=basic_font.render("第1名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf,(880,20))
scoreSurf=basic_font.render("第名:"+str(score),True,(255,255,255))
scoreSurf=basic_font.render("第2名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf,(880,20))
scoreSurf=basic_font.render("第名:"+str(score),True,(255,255,255))
scoreSurf=basic_font.render("第3名:"+str(score),True,(255,255,255))
screen.blit(scoreSurf,(880,20))
......
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