Grid objects#

All elements that can be placed in a Curiosity-Gym environment are referred to as grid objects. They all inherit attributes and methods from the abstract base class GridObject.

Base class#

GridObject

Abstract class representing elements that can be placed in a grid environment.

Object types#

Agent

Grid object representing the RL agent.

Wall

Non walkable grid object used to enclose spaces in the environment.

Target

Grid object representing a task objective of the environment.

Door

Grid object with walkability depending on its state.

Key

Collectable grid object that is used to unlock Door objects of the same color.

RandomBlock

A non walkable grid object that randomly changes color at every time step.

Enemy

Moving grid object harmful to the agent.

SmallReward

Grid object yielding a small reward when the agent moves over it.

Ball

Non walkable grid object that can be moved by agent interaction.