Holds a dictionary in JSON format with Pokémon names as keys and a list of the Pokémon's possible moves as the value.
Contains methods to determine the best action using a modified expectimax; makes use of state.py.
Contains all methods necessary to interface with the Pokémon Showdown server.
Version of interface.py that is compatible with tree_battle.py.
Once used to start battles. No longer in use.
Contains the methods necessary for (quasi)random battling.
Holds the raw data that was used to make data.txt; has superfluous data not in data.txt.
Module containing the class State, which is comprised of both players' teams (current health, etc. included), the Pokémon currently on the battlefield, whether the bot can switch Pokémon and whether the bot's current Pokémon can use a move.
Implements the battle tree.
Implements the battle tree. Old version.