code: def _retrocom(rx, tx, game, kwargs):
      
      env = RetroWrapper.retro_make_func(game, **kwargs)
  
      # Sit around on the queue, waiting for calls from RetroWrapper
      while True:
          attr, args, kwargs = rx.get()
  
          # First, handle special case where the wrapper is asking if attr is callable.
          # In this case, we actually have RetroWrapper.symbol, attr, and {}.
          if attr == RetroWrapper.symbol:
              result = env.__getattribute__(args)
              tx.put(callable(result))
          elif attr == "close":
              env.close()
              break
          else:
              # Otherwise, handle the request
              result = getattr(env, attr)
              if callable(result):
                  result = result(*args, **kwargs)
              tx.put(result)
docs: This function is the target for RetroWrapper's internal
      process and does all the work of communicating with the
      environment.