/poke-env

A python interface for training Reinforcement Learning bots to battle on pokemon showdown

Primary LanguagePythonMIT LicenseMIT

The pokemon showdown Python environment

CircleCI codecov License: MIT Code style: black Documentation Status

A python interface for training Reinforcement Learning bots to battle on pokemon showdown.

This project aims at providing a Python environment for interacting in pokemon showdown battles, with reinforcement learning in mind.

Documentation and examples

Documentation and detailed examples can be found here.

Examples and starting code can be found here.

Installation

This project requires python >= 3.6 and a Pokemon Showdown server.

pip install poke-env

You can use smogon's server to try out your agents against humans, but having a development server is strongly recommended. In particular, this showdown fork is optimized for performance and can be used locally without authentication:

git clone https://github.com/hsahovic/Pokemon-Showdown.git

Development version

You can also install the latest master version with:

git clone https://github.com/hsahovic/poke-env.git

Dependencies and development dependencies can then be installed with:

pip install -r requirements.txt
pip install -r requirements-dev.txt

Acknowledgements

This project is a follow-up of a group project from an artifical intelligence class at Ecole Polytechnique.

You can find the original repository here. It is partially inspired by the showdown-battle-bot project. Of course, none of these would have been possible without Pokemon Showdown.

Data

Data files are adapted version of the js data files of Pokemon Showdown.

License

License: MIT