Commit 3f267997 by BellCodeEditor

save project

parent 50ac2622
Showing with 8 additions and 1 deletions
...@@ -55,7 +55,14 @@ score=0 ...@@ -55,7 +55,14 @@ score=0
speed=8 speed=8
old_score=0 old_score=0
block_list =pygame.sprite.Group() # block_list =pygame.sprite.Group() # 、
with open('record.txt','r',encoding='utf-8') as f:
content=f.read()
record=json.loads(content)
one=record['第1名']
two=record['第2名']
three=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