更新 'alien_invasion,py'

This commit is contained in:
206530211 2021-06-18 09:43:05 +08:00
parent cd1f37eacb
commit f2bed5897b
1 changed files with 4 additions and 0 deletions

View File

@ -19,3 +19,7 @@ def run_game():
# 创建Play按钮
play_button = Button(ai_settings, screen, "Play")
# 创建存储游戏统计信息的实例,并创建记分牌
stats = GameStats(ai_settings)
sb = Scoreboard(ai_settings, screen, stats)