17 lines
435 B
Python
17 lines
435 B
Python
import sys
|
|
def pygame
|
|
|
|
def run_game():
|
|
pygame.init()
|
|
screen = pygame.display.set_mode((1200,800))
|
|
pygame.display .set_caption("Aline Invasion")
|
|
bg_color = (230,230,230)
|
|
|
|
while True:
|
|
for event in pygame.event.get():
|
|
if event.type == pygame.QUIT:
|
|
sys.exit()
|
|
screen.fill(bg_cplor)
|
|
pygame.display.flip()
|
|
run_game()
|