Commit 3ccfd7a6 by BellCodeEditor

save project

parent 5dbaeb12
Showing with 1 additions and 1 deletions
...@@ -60,7 +60,7 @@ block_list =pygame.sprite.Group() # 创建精灵组 ...@@ -60,7 +60,7 @@ block_list =pygame.sprite.Group() # 创建精灵组
with open('score.txt','r',encoding='utf-8')as f: with open('score.txt','r',encoding='utf-8')as f:
content = f.read() content = f.read()
record = json.locals(content) record = json.loads(content)
one = content["第1名"] one = content["第1名"]
two = content["第2名"] two = content["第2名"]
three = content["第3名"] three = content["第3名"]
......
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