TMaze#

TMaze

Description#

Two hallways connected in a T-junction, the goal is to move the agent towards a red box within as few steps as possible. In MiniWorld-TMazeLeft-v0, the red box is located on the left wing of the T-shaped junction. In MiniWorld-TMazeRight-v0, the red box is located on the right wing of the T-shaped junction.

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 a RGB image of what the agents sees.

Rewards:#

+(1 - 0.2 * (step_count / max_episode_steps)) when box reached and zero otherwise.

Arguments#

env = gym.make("MiniWorld-TMazeLeft-v0")
# or
env = gym.make("MiniWorld-TMazeRight-v0")