Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.57 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.57 KB

P2-Lab

An interface for optimising pokemon teams using genetic algorithms!

Components

Pokemon showdown engine:

smogon/pokemon-showdown

  • Has instructions on setting up our own server (needed to run battles!)
  • Also features command-line utilities for generating/validating new teams

Pokemon battle bot by pmargilia:

pmargilia/showdown

  • Can interface into a server
  • Can both launch and accept battle challenges --> we can make the bots battle!
  • Already calculates wins/losses in its code (but we need to figure out the best way to get that info)
  • Can be run locally or in a docker container

Poke-env

Genetic algorithm library: TBD

This library, p2lab:

  • Aiming to be a python module to steer a bunch of bots into battling, collect the results, then run a genetic algorithm step!

Running the battles with Poke-env

  • TODO: Complete this documentation to be tidy

From within the pokemon showdown directory, run the following command to start

node pokemon-showdown start --no-security

Then in Poke-env run TBD, but to test it works go into the poke_env/examples folder and run python simple_battle.py to see a battle in action!

Suggestions for faster running

Using a local pokemon showdown server run with --no-security for bot vs. bot training to be faster.