Commit 969bcd72 by BellCodeEditor

save project

parent 239dcb25
Showing with 3 additions and 3 deletions
...@@ -61,9 +61,9 @@ block_list = pygame.sprite.Group() # 创建精灵组 ...@@ -61,9 +61,9 @@ block_list = pygame.sprite.Group() # 创建精灵组
with open('record.txt', 'r', encoding='utf-8') as f: with open('record.txt', 'r', encoding='utf-8') as f:
content = f.read() #文件读取操作 content = f.read() #文件读取操作
record = json.loads(content) record = json.loads(content)
one = content["第1名"] one = record["第1名"]
two = content["第2名"] two = record["第2名"]
thr = content["第3名"] thr = record["第3名"]
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
......
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