Commit 0a1bd26a by BellCodeEditor

save project

parent 93aeb080
Showing with 5 additions and 3 deletions
......@@ -134,7 +134,7 @@ while True:
sf["第3名"]=second
elif score>third:
sf["第3名"]=score
recond=json.dumps(sf,ensure_ascii=False)
record=json.dumps(sf,ensure_ascii=False)
with open('record.txt','w',encoding='utf-8')as f:
f.write(record)
......@@ -160,4 +160,4 @@ while True:
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
FPS.tick(120)
\ No newline at end of file
{"第1名": 6, "第2名": 4, "第3名": 3}
\ 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