code: def __init__(self, game=None):
      super().__init__(game=game)
  
      # SAMPLE - Replace with your own game inputs!
      self.game_inputs = {
          "MOVEMENT": {
              "MOVE UP": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_W)
              ],
              "MOVE LEFT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_A)
              ],
              "MOVE DOWN": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_S)
              ],
              "MOVE RIGHT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_D)
              ],
              "MOVE TOP-LEFT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_W),
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_A),
              ],
              "MOVE TOP-RIGHT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_W),
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_D),
              ],
              "MOVE DOWN-LEFT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_S),
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_A),
              ],
              "MOVE DOWN-RIGHT": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_S),
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_D),
              ],
              "DON'T MOVE": [],
          },
          "SHOOTING": {
              "SHOOT UP": [
                  KeyboardEvent(KeyboardEvents.DOWN, KeyboardKey.KEY_UP)
              ],
              "SHOOT LEFT": [
                  KeyboardEvent(
                      KeyboardEvents.DOWN, KeyboardKey.KEY_LEFT
                  )
              ],
              "SHOOT DOWN": [
                  KeyboardEvent(
                      KeyboardEvents.DOWN, KeyboardKey.KEY_DOWN
                  )
              ],
              "SHOOT RIGHT": [
                  KeyboardEvent(
                      KeyboardEvents.DOWN, KeyboardKey.KEY_RIGHT
                  )
              ],
              "DON'T SHOOT": [],
          },
      }
  
imports: from serpent.game_api import GameAPI
  from serpent.input_controller import KeyboardKey, KeyboardEvent, KeyboardEvents
  from serpent.input_controller import MouseButton, MouseEvent, MouseEvents
label_desc: Use image node_id 1 to create a new MyGameAPI object from inherited base classes: GameAPI with example: obj = MyGameAPI(game)