Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sashman/warhammer40k_gym
https://github.com/sashman/warhammer40k_gym
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sashman/warhammer40k_gym
- Owner: sashman
- Created: 2023-01-17T21:48:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T21:54:00.000Z (6 months ago)
- Last Synced: 2024-05-28T07:54:26.143Z (6 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gym Examples
Some simple examples of Gym environments and wrappers.
For some explanations of these examples, see the [Gym documentation](https://gymnasium.farama.org).### Environments
This repository hosts the examples that are shown [on the environment creation documentation](https://gymnasium.farama.org/tutorials/environment_creation/).
- `GridWorldEnv`: Simplistic implementation of gridworld environment### Wrappers
This repository hosts the examples that are shown [on wrapper documentation](https://gymnasium.farama.org/api/wrappers/).
- `ClipReward`: A `RewardWrapper` that clips immediate rewards to a valid range
- `DiscreteActions`: An `ActionWrapper` that restricts the action space to a finite subset
- `RelativePosition`: An `ObservationWrapper` that computes the relative position between an agent and a target
- `ReacherRewardWrapper`: Allow us to weight the reward terms for the reacher environment### Contributing
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](https://github.com/Farama-Foundation/Gymnasium/tree/main/docs).