Which Pygame setup creates the game surface, labels its window, and provides timing control?
Use pygame.font.SysFont() to create both the window and its clock.
pygame.font.SysFont()
Use pygame.display.set_mode((WIDTH, HEIGHT)), pygame.display.set_caption(...), and pygame.time.Clock().
pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption(...)
pygame.time.Clock()
Use random.randrange() to choose the window dimensions and frame timing automatically.
random.randrange()
Use only pygame.draw.rect() for all three tasks.
pygame.draw.rect()