code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
  
      self.frame_handlers["PLAY"] = self.handle_play
  
      self.frame_handler_setups["PLAY"] = self.setup_play
  
imports: from serpent.game_agent import GameAgent
label_desc: Use image node_id 1 to create a new SerpentGameAgent object from inherited base classes: GameAgent with example: obj = SerpentGameAgent()