更新 'game_stats.py'

This commit is contained in:
206530230 2021-06-23 20:55:19 +08:00
parent bd4410e097
commit a3fb5cf846
1 changed files with 2 additions and 1 deletions

View File

@ -14,4 +14,5 @@ class GameStats():
def reset_stats(self):
"""初始化在游戏运行期间可能变化的统计信息"""
self.ships_left = self.ai_settings.ship_limit
self.score = 0
self.score = 0
self.level = 1