github.com/smogon/pokemon-showdown

Pokémon battle simulator.

Open this visualization on its own page →

Contributors

396

Lines of Code

34,947

From

2011-12-23

To

2020-12-24

About smogon/pokemon-showdown

Pokémon Showdown is a web-based battle simulator for Pokémon that allows players to battle each other online across all nine generations of games. The project serves multiple purposes: it's a playable website, a JavaScript library for simulating battles and accessing Pokédex data, a game server for hosting custom communities, command-line tools for battle simulation, and a web API backend.

The server is written in TypeScript and handles the core battle simulation engine, supporting singles, doubles, and triples battle formats. The codebase includes comprehensive documentation on its protocol for client-server communication, battle message protocols, and architecture. The project is actively maintained by a core team and welcomes community contributions, with resources available for new developers looking to get involved.

Pokémon Showdown serves both casual players seeking online battles and developers who want to build bots or integrate battle simulation into other applications. The project includes a built-in chat service and maintains an active community through forums on Smogon, the competitive Pokémon organization.

Share this video