diff --git a/main.py b/main.py index 139597f..d2a9e50 100644 --- a/main.py +++ b/main.py @@ -1,2 +1,22 @@ +import sys +import pygame +pygame.init() +#SETUP +WIDTH, HEIGHT = 800, 800 +WINDOW = pygame.display.set_mode((WIDTH, HEIGHT)) +pygame.display.set_caption("Traffic Controller") +#CONSTANTS +FPS = 60 + +# Game loop +clock = pygame.time.Clock() +running = True +while running: + clock.tick(FPS) + for event in pygame.event.get(): + if event.type == pygame.QUIT: + running = False + pygame.quit() + sys.exit()