更新 'game_stats.py'

This commit is contained in:
201110132 2021-06-24 09:12:13 +08:00
parent 3ae4df4366
commit 6817634bc3
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ class GameStats:
# 游戏刚启动时处于非活动状态
self.game_active = False
# 任何情况下都不应重置最高得分
self.high_score = 0
def reset_stats(self):