Coder Social home page Coder Social logo

xyfcw / gym-xiangqi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tanliyon/gym-xiangqi

0.0 0.0 0.0 39.3 MB

This repo sets up the environment to play Xiang Qi (chinese chess) following the OpenAI Gym framework.

License: GNU Lesser General Public License v3.0

Python 100.00%

gym-xiangqi's Introduction

Gym Xiangqi

CI Test Suite flake8 lint radon analysis Documentation Status PyPI version

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.

Welcome Demo

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.

gym-xiangqi's People

Contributors

dependabot[bot] avatar dooki114 avatar hojoungjang avatar tanliyon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.