code: def wrap_deepmind_retro(env, scale=True, frame_stack=4):
      
      env = WarpFrame(env)
      env = ClipRewardEnv(env)
      if frame_stack > 1:
          env = FrameStack(env, frame_stack)
      if scale:
          env = ScaledFloatFrame(env)
      return env
docs: Configure environment for retro games, using config similar to DeepMind-style Atari in wrap_deepmind