Commit a70adc61 by BellCodeEditor

auto save

parent 5933e2d0
Showing with 4 additions and 4 deletions
......@@ -56,8 +56,8 @@ old_sorre = 0
audio_player = pygame.mixer.Sound("score.wav")
block_list =pygame.sprite.Group() # 创建精灵组
with open ("record.txt",'r',encoding='utf-8') as f:
content = f.read()
with open ("record.txt",'r',encoding='utf-8') as f3:
content = f3.read()
record = json.loads(content)
one = record["第1名"]
two = record["第2名"]
......
{"第1名": 0, "第2名": 0, "第3名": 0}
\ No newline at end of file
{"第1名": 10, "第2名": 6, "第3名": 4}
\ 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