From cc2b00f3b233d38dc3a57f3c4bb7234bf8bd7ab6 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 10 Mar 2024 11:02:00 +0800 Subject: [PATCH] save project --- my_game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my_game.py b/my_game.py index 895f787..989ce4a 100644 --- a/my_game.py +++ b/my_game.py @@ -58,7 +58,7 @@ old_score = score block_list = pygame.sprite.Group() # 创建精灵组 -with open('score.txt', 'r', encoding='utf-8') as f: +with open('record.txt', 'r', encoding='utf-8') as f: content = f.read() #文件读取操作 record = json.loads(content) one = content["第1名"] -- libgit2 0.25.0