上传文件至 '主程序'

This commit is contained in:
206530130 2021-06-21 18:28:41 +08:00
parent 95b23e61eb
commit 2dd08b453b
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
import pygame
from settings import Settings
from ship import Ship
import game_functions as gf
from pygame.sprite import Group
from game_stats import GameStats
from button import Button
from scoreboard import Scoreboard
def run_game():
pygame.init()
ai_settings = Settings()
screen = pygame.display.set_mode((ai_settings.screen_width, ai_settings.screen_height))
pygame.display.set_caption("Alien Invasion")