# Update the display pygame.display.flip()
# Game loop while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit()
# Draw the pillars for i in range(10): pygame.draw.rect(screen, (255, 255, 255), (i * 80, 0, 50, HEIGHT))
# Fill the screen with black screen.fill((0, 0, 0))
# Set up the display screen = pygame.display.set_mode((WIDTH, HEIGHT))