+
Skip to content

cpp977/BoardGames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gymnasium Examples

Some simple examples of Gymnasium environments and wrappers. For some explanations of these examples, see the Gymnasium documentation.

Environments

This repository hosts the examples that are shown on the environment creation documentation.

  • GridWorldEnv: Simplistic implementation of gridworld environment

Wrappers

This repository hosts the examples that are shown on wrapper documentation.

  • 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.

Installation

To install your new environment, run the following commands:

cd obstgarten
pip install -e .

About

Collection of game strategies for some board games trained with reinforcement learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载