Skip to main content
Engineering LibreTexts

5.13: Drawing the Board to the Screen

  • Page ID
    14543
  •         pygame.display.update()
            FPSCLOCK.tick(FPS)
    

    Just like the other game programs, the last thing done in the game loop is drawing the display Surface object to the screen and calling the tick() method.