code: def gameloop(self):
          
          try:
              while True:
                  self.handle_events()
                  self.update()
                  self.render()
          except KeyboardInterrupt:
              pass
docs: A game loop that circles through the methods.