import pygame

# Homework: change the window size.
# 1. Find the pygame.display.set_mode() call below.
# 2. The tuple (width, height) controls the window size in pixels.
# 3. Try a square window (e.g. 500, 500), a wide one (900, 300), a tall one (300, 600).
# 4. Run the program each time and see how it looks.

pygame.init()

# TODO: change the width and height values
screen = pygame.display.set_mode((640, 480))
pygame.display.set_caption("Resized Window")

running = True
while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False

    screen.fill((80, 40, 120))
    pygame.display.flip()

pygame.quit()
