FourRooms

FourRooms

Action Space

Discrete(3)

Observation Space

Box(0, 255, (60, 80, 3), uint8)

Creation

gymnasium.make("MiniWorld-FourRooms-v0")

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")