Description
The pkmn engine is a minimal, complete Pokémon battle simulation library, written in Zig with a TypeScript reference driver. It aims to be frame-accurate and bug-for-bug compatible with the original game code and with the Pokémon Showdown simulator. The project says it is designed for tooling, embedded systems and artificial intelligence use. It is a low-level library rather than a full simulator, so it works as a building block for other tools. Engine binaries can be downloaded from the GitHub releases page, or built from source with the latest Zig compiler. The libpkmn library can also be built with a flag that produces a library compatible with Pokémon Showdown. The @pkmn/engine npm package is part of the repository. The README warns that the project is under heavy development and that the main branch has breaking changes, so it asks people to wait for the first v0.1 release before depending on it. The source is public on GitHub.…
Highlights
- Battle simulation engine for Pokémon formats
- Compatibility mode for Pokémon Showdown
- Zig library with a TypeScript driver
- Releases and source builds with Zig
- Designed for tooling and AI use
Ratings & Reviews
No ratings yet
Be the first to rate Engine.
People also visit

Pokerogue
A browser based Pokémon fangame heavily inspired by the roguelite genre
PokeMMO-Online-Realtime-Multiplayer-Game
A simple realtime Pokémon MMO game build with Phaser 3, Colyseus.io & Webpack 4
Pokeclicker
The new and improved version of the popular idle/incremental PokéClicker
Engine FAQ
What is the pkmn engine?
A low-level library that simulates Pokémon battles, meant as a building block for other tools rather than a complete simulator.
Is it ready to use?
Not yet for production. The README says it is under heavy development and asks people to wait for the initial v0.1 release.
How do I install it?
Download binaries from the GitHub releases tab, or build the source with the latest Zig compiler. An npm package, @pkmn/engine, is also in the repository.
Who is it for?
Developers building tooling, embedded systems or AI agents that need fast Pokémon battle simulation.
What are the best Engine alternatives?
Popular alternatives to Engine include Pokemon Showdown, Pikachu Volleyball and Pokerogue. See all Engine alternatives


