class_docstr: Example of a custom env in which you have to walk down a corridor.
  
  You can configure the length of the corridor via the env config.
code: def __init__(self, config=None):
      config = config or {}
      self.end_pos = config.get("corridor_length", 10)
      self.cur_pos = 0
      self.action_space = Discrete(2)
      self.observation_space = Box(
          0.0, 999.0, shape=(1,), dtype=np.float32
      )
  
file_path: ray/python/ray/rllib/examples/env/simple_corridor.py
imports: import gymnasium
  from gymnasium.spaces import Box, Discrete
  import numpy
label_desc: Use image node_id 1 to create a new SimpleCorridor object from inherited base classes: gym with example: obj = SimpleCorridor(config)