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 detailed examples can be found here.
Examples and starting code can be found here.
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
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
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 files are adapted version of the js
data files of Pokemon Showdown.