FourRooms¶
 
| Action Space | 
 | 
| Observation Space | 
 | 
| Creation | 
 | 
Description¶
Classic four rooms environment. The goal is to reach the red box to get a reward in as few steps as possible.
Action Space¶
| Num | Action | 
|---|---|
| 0 | turn left | 
| 1 | turn right | 
| 2 | move forward | 
Observation Space¶
The observation space is an ndarray with shape (obs_height, obs_width, 3)
representing an RGB image of what the agents see.
Rewards¶
+(1 - 0.2 * (step_count / max_episode_steps)) when red box reached and zero otherwise.
Arguments¶
env = gymnasium.make("MiniWorld-FourRooms-v0")