Skip to main content
Engineering LibreTexts

9.28: The Same Old terminate() Function

  • Page ID
    14647
  • def terminate():
        pygame.quit()
        sys.exit()
    

    The terminate() function works the same as in the previous game programs.