Skip to main content
Engineering LibreTexts

9.14: The Game Loop

  • Page ID
    14632
  •     while True: # main game loop
    

    The game loop, like the game loops in the previous game programs, will do event handling, updating the game state, and drawing everything to the screen.

    • Was this article helpful?