1def show_go_screen():
2 screen.blit(background, background_rect)
3 draw_text(screen, "SHMUP!", 64, WIDTH / 2, HEIGHT / 4)
4 draw_text(screen, "Arrow keys move, Space to fire", 22,
5 WIDTH / 2, HEIGHT / 2)
6 draw_text(screen, "Press a key to begin", 18, WIDTH / 2, HEIGHT * 3 / 4)
7 pygame.display.flip()
8 waiting = True
9 while waiting:
10 clock.tick(FPS)
11 for event in pygame.event.get():
12 if event.type == pygame.QUIT:
13 pygame.quit()
14 if event.type == pygame.KEYUP:
15 waiting = False