Custom OpenAI gym Xiangqi environment
Project description
Gym Xiangqi
Gym Xiangqi is a reinforcement learning environment of Xiangqi, Chinese Chess, game. The project is built on top of a popular reinforcement learning framework called OpenAI Gym.
Getting Started
Installing and using Gym Xiangqi is easy. If you are unfamiliar with Xiangqi, the Chinese Chess, we encourage you to read our Wiki page for a starter. We also welcome you to checkout our documentation page, but if you have experiences working with other OpenAI Gym environments you will be already off to a good start.
Prerequisites
In order to use Gym Xiangqi environment for your reinforcement learning project, you need to have,
- A machine that supports video and audio outputs. For example, a headless server will not be a great choice here.
- Python 3.6 or above
User Installation
Install Gym Xiangqi on your Python environment using pip
pip install gym-xiangqi
Test your installation by running
agent-v-agent
Development Installation
First, clone the repository
git clone https://github.com/tanliyon/gym-xiangqi.git
or download the latest release and extract the files
Enter the repository
cd gym-xiangqi
Install the core dependencies
pip install -e .
Install the dependencies for development
pip install -r requirements.txt
Software Handbook
Read through the software handbook for comprehensive explanation and development guide for the repository.
Built With
- [OpenAI Gym] - Used for developing the reinforcement learning environment
- [PyGame] - Used for rendering the game
Contributing
Please checkout our contribution guidelines in CONTRIBUTING.md and our software handbook.
Versioning
We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.
Authors
License
This project is licensed under the GNU Lesser General Public License v3.0 - see the LICENSE.md file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gym_xiangqi-0.3.1.tar.gz.
File metadata
- Download URL: gym_xiangqi-0.3.1.tar.gz
- Upload date:
- Size: 39.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eff99245dedd17f9735f8133f56ad2eb7f8438b9cd220e5636594785592847db
|
|
| MD5 |
986f019afd6f648736ca54b1f0b10a88
|
|
| BLAKE2b-256 |
dca71c946d9f7c0fc735a6793e8fdd6e9de5b6aa481db894fc9c490859081497
|
File details
Details for the file gym_xiangqi-0.3.1-py3-none-any.whl.
File metadata
- Download URL: gym_xiangqi-0.3.1-py3-none-any.whl
- Upload date:
- Size: 21.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b6182a90f06141b43ffc845d9f282a06ce88aac8da942aa740d88cd6296cae9
|
|
| MD5 |
5efadcc6877305a430a1ed2e1b34227e
|
|
| BLAKE2b-256 |
89942451cf6ef3da1d42b705c411c9da7a2f84f23e2fd39469f2b8a5c03e891b
|