
PLAY POKEMON SHOWDOWN TEAM BUILDER PLUS
Using the information it has, plus some assumptions about the opponent, the bot will attempt to calculate the Nash-Equilibrium with the highest payoffĪnd select a move from that distribution. This decision type is deterministic - the bot will always make the same move given the same situation again. This is equivalent to the Expectiminimax strategy. The bot searches through the game-tree for two turns and selects the move that minimizes the possible loss for a turn.įor decisions with random outcomes a weighted average is taken for all possible end states.įor example: If using draco meteor versus some arbitrary other move results in a score of 1000 if it hits (90%) and a score of 900 if it misses (10%), the overall score for usingĭraco meteor is (0.9 * 1000) + (0.1 * 900) = 990. This project has a few different battle bot implementations.Įach of these battle bots use a different method to determine which move to use. Run with python run.py Running with Dockerĭocker run -env-file env showdown Battle Bots
PLAY POKEMON SHOWDOWN TEAM BUILDER INSTALL
Install the requirements with pip install -r requirements.txt. The Python logging level ( DEBUG, INFO, etc.) Specifies whether or not to save replays of the battles ( True / False) If BOT_MODE is ACCEPT_CHALLENGE, the bot will join this chatroom while waiting for a challenge. More on this below in the Specifying Teams section. The name of the file that contains the team you want to use. The number of games the bot will play before quitting If BOT_MODE is CHALLENGE_USER, this is the name of the user you want your bot to challenge The type of game this bot will play: gen8ou, gen7randombattle, etc. Options are CHALLENGE_USER, SEARCH_LADDER, or ACCEPT_CHALLENGE The address to use to connect to the Pokemon Showdown websocket More on this below in the Battle Bots section The configurations available are: Config Name

You may either set these in your environment before running, Getting Started ConfigurationĮnvironment variables are used for configuration. The bot can play single battles in generations 3 through 8.ĭeveloped and tested using Python 3.8. A Pokémon battle-bot that can play battles on Pokemon Showdown.
