code: def __init__(self, **kwargs):
      super().__init__(**kwargs)
      self.config = config.get(
          f"{self.__class__.__name__}Plugin", dict()
      )
  
      self.platform = kwargs.get("platform")
  
      default_input_controller_backend = InputControllers.CLIENT
      self.input_controller = (
          kwargs.get("input_controller")
          or default_input_controller_backend
      )
  
      self.window_id = None
      self.window_name = kwargs.get("window_name")
      self.window_geometry = None
  
      self.dashboard_window_id = None
  
      self.window_controller = WindowController()
  
      self.is_launched = False
  
      self.frame_grabber_process = None
      self.frame_transformation_pipeline_string = None
  
      self.crossbar_process = None
      self.input_controller_process = None
  
      self.game_frame_limiter = GameFrameLimiter(
          fps=self.config.get("fps", 30)
      )
  
      self.api_class = None
      self.api_instance = None
  
      self.environments = dict()
      self.environment_data = dict()
  
      self.sprites = self._discover_sprites()
  
      self.redis_client = StrictRedis(**config["redis"])
  
      self.pause_callback_fired = False
  
      self.kwargs = kwargs
  
imports: import warnings
  import offshoot
  import subprocess
  import signal
  import shlex
  import time
  import os, os.path
  import atexit
  from serpent.game_agent import GameAgent
  from serpent.game_launchers import *
  from serpent.window_controller import WindowController
  from serpent.input_controller import InputController, InputControllers
  from serpent.frame_grabber import FrameGrabber
  from serpent.game_frame_limiter import GameFrameLimiter
  from serpent.sprite import Sprite
  from serpent.utilities import clear_terminal, is_windows, SerpentError
  import skimage.io
  import skimage.color
  import numpy
  from redis import StrictRedis
  from serpent.config import config
label_desc: Use image node_id 1 to create a new Game object from inherited base classes: offshoot with example: obj = Game()