All Projects → taylorhansen → pokemonshowdown-ai

taylorhansen / pokemonshowdown-ai

Licence: MIT License
Reinforcement learning for Pokemon.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to pokemonshowdown-ai

ps
Modular Pokémon Showdown
Stars: ✭ 38 (+72.73%)
Mutual labels:  pokemon, pokemon-showdown
pokemon-essentials
Pokémon game project made in RPG Maker MV.
Stars: ✭ 48 (+118.18%)
Mutual labels:  pokemon
lfz-battle
A clone of Pokemon Fire Red but with programming questions instead of Pokemon
Stars: ✭ 67 (+204.55%)
Mutual labels:  pokemon
Worldopole
Worldopole is a third party extension for RocketMap showing some nice statistics.
Stars: ✭ 89 (+304.55%)
Mutual labels:  pokemon
redstarbluestar
An upgrade to Pokémon Red/Blue. Ports graphics and features from the Space World 1997 Gold/Silver prototype.
Stars: ✭ 67 (+204.55%)
Mutual labels:  pokemon
PokeChat
UNIX compatible, Discord and Telegram inspired, Pokémon-themed instant messaging service.
Stars: ✭ 11 (-50%)
Mutual labels:  pokemon
pokepuzzle
Disassembly of Pokémon Puzzle Challenge
Stars: ✭ 37 (+68.18%)
Mutual labels:  pokemon
pokemon
ascii database of pokemon... in python!
Stars: ✭ 49 (+122.73%)
Mutual labels:  pokemon
pokedex
📕 DIY full-stack workshop teaching you Elixir, Absinthe GraphQL, React and Relay
Stars: ✭ 17 (-22.73%)
Mutual labels:  pokemon
pokemon-app
A simple Flutter app that lists all the 151 1st generation pokemóns.
Stars: ✭ 17 (-22.73%)
Mutual labels:  pokemon
pokengine
An online Pokémon battle system for the web
Stars: ✭ 45 (+104.55%)
Mutual labels:  pokemon
proshine
A free, open-source and advanced bot for Pokémon Revolution Online.
Stars: ✭ 53 (+140.91%)
Mutual labels:  pokemon
PokeTraveler
Let's walk through Pokemon World!
Stars: ✭ 122 (+454.55%)
Mutual labels:  pokemon
pkmn.help
pkmn.help remembers strengths/weaknesses of Pokémon for you
Stars: ✭ 28 (+27.27%)
Mutual labels:  pokemon
ivcalc
LegendaryPKMN.net’s Pokémon Individual Value & Stat Calculator.
Stars: ✭ 24 (+9.09%)
Mutual labels:  pokemon
pokehooks-labs
A laboratory to use pokemons and do some experiments with React Hooks API
Stars: ✭ 35 (+59.09%)
Mutual labels:  pokemon
pmd-gen
Password generator for Pokemon Mystery Dungeon: Rescue Team DX
Stars: ✭ 19 (-13.64%)
Mutual labels:  pokemon
pokemon-go-imagery
No description or website provided.
Stars: ✭ 38 (+72.73%)
Mutual labels:  pokemon
Professor-Redwood
Pokemon Go Discord Bot
Stars: ✭ 36 (+63.64%)
Mutual labels:  pokemon
pokemon
Online 3D Pokémon Viewer
Stars: ✭ 34 (+54.55%)
Mutual labels:  pokemon

Pokemon Showdown AI

Build codecov

For this project I plan on making and training a neural network to play in a Pokemon gen-4 random battle. The code is pretty unstable right now so I wouldn't recommend trying to use it out of the box.

This project has three parts:

  • PsBot framework for creating a general Pokemon Showdown bot and setting up the battle interface.
  • Battle state tracker, able to make logical deductions about the opponent's team by observing the events that happen in each turn.
  • Neural network management and training scripts.

Compiling/running

# Download the repository.
git clone https://github.com/taylorhansen/pokemonshowdown-ai
cd pokemonshowdown-ai
npm install

# Setup config, edit if needed.
cp src/config.example.ts src/config.ts

# Compile the project.
npm run build

# Lint and run tests.
npm test

# Train a neural network through self-play.
# WARNING: Requires a powerful computer, may take several hours.
npm run train
# The above command includes an option to enable GPU acceleration if supported:
npm run train:gpu

# Connect to the server specified in config.ts and start accepting challenges.
npm run psbot
# The above command includes an option to enable GPU acceleration if supported:
npm run psbot:gpu

License

See LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].