Understanding the Letter World grid environment
x
represents the agent (starting at position [1,3])A
represents the position of letter A (which may change to B)C
represents the position of letter C.
represents empty spacesgymnasium.Env
, following the standard Gym interface.
0
: Move right1
: Move left2
: Move up3
: Move downsymbol_seen
flag in the observation.
render()
, the environment prints a colored grid representation to the console. Here’s what it looks like at different states: