Some simple examples of Gymnasium environments and wrappers. For some explanations of these examples, see the Gymnasium documentation.
This repository hosts the examples that are shown on the environment creation documentation.
GridWorldEnv
: Simplistic implementation of gridworld environment
This repository hosts the examples that are shown on wrapper documentation.
ClipReward
: ARewardWrapper
that clips immediate rewards to a valid rangeDiscreteActions
: AnActionWrapper
that restricts the action space to a finite subsetRelativePosition
: AnObservationWrapper
that computes the relative position between an agent and a targetReacherRewardWrapper
: Allow us to weight the reward terms for the reacher environment
If you would like to contribute, follow these steps:
- Fork this repository
- Clone your fork
- Set up pre-commit via
pre-commit install
PRs may require accompanying PRs in the documentation repo.
To install your new environment, run the following commands:
cd snake
pip install -e .