class_docstr: Wrapper class for interacting with the game in play/replay mode.
class_docstr_tok: ["Wrapper","class","for","interacting","with","the","game","in","play\/replay","mode","."]
docstr: Initialize play/replay connection.
docstr_tok: ["Initialize","play\/replay","connection","."]
code: def _initialize(self):
      """Initialize play/replay connection."""
      run_config = run_configs.get()
      self._map_inst = maps.get(self._config.map_name)
      self._map_data = self._map_inst.data(run_config)
  
      self._sc2_proc = run_config.start(
          want_rgb=self._config.interface.HasField("render")
      )
      self._controller = self._sc2_proc.controller
  
imports: from absl.testing import absltest
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.lib import actions
  from pysc2.lib import features
  from pysc2.lib import point
  from pysc2.lib import renderer_ascii
  from pysc2.lib import units
  from pysc2.tests import utils
  from s2clientprotocol import common_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 2 for calling the GameController obj's underlying member method code with example usage: obj._initialize() without return types