# Draw the pillars for i in range(10): pygame.draw.rect(screen, (255, 255, 255), (i * 80, 0, 50, HEIGHT))
# Update the display pygame.display.flip()
# Set up the font font = pygame.font.Font(None, 36)
# Set up the display screen = pygame.display.set_mode((WIDTH, HEIGHT))
# Game loop while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit()
# Set up some constants WIDTH, HEIGHT = 800, 600 SPEED = 5
# Initialize Pygame pygame.init()