No description
  • JavaScript 89.4%
  • Python 10.6%
Find a file
2026-04-09 21:15:22 -04:00
adv stuff 2026-04-08 23:38:00 -04:00
engine@512d3dee4d Update engine checkpoint for Gen 3 parity work 2026-04-09 21:15:22 -04:00
node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709 stuff 2026-04-08 23:38:00 -04:00
pokemon-showdown@686819e5e1 Auto commit: 2026-02-16 17:54 2026-02-16 17:54:13 -05:00
.DS_Store stuff 2026-04-08 23:38:00 -04:00
ADV_GEN3_MIGRATION_PLAN.md Document parity harness and update migration roadmap 2026-02-18 00:35:34 -05:00
AGENTS.md Document parity harness and update migration roadmap 2026-02-18 00:35:34 -05:00
LICENSE Update migration status, roadmap, and environment specs 2026-02-17 23:20:17 -05:00
README.md Update migration status, roadmap, and environment specs 2026-02-17 23:20:17 -05:00
ROADMAP_GEN3_ADV.md stuff 2026-04-08 23:38:00 -04:00
TODO.md Fix Gen 3 Pursuit switch handling and logging 2026-04-09 11:23:37 -04:00

Gen 3 ADV OU Battle Simulator

A fast Gen 3 ADV OU battle simulator for AI training, combining Pokémon Showdown's battle rules with an optimized Zig-based engine.

Overview

This project aims to replace Showdown simulation calls with a faster Zig backend (engine) while maintaining parity with Showdown's Gen 3 OU behavior. The goal is to significantly improve throughput for AI self-play training.

Components

  • pokemon-showdown/: Reference simulator and test harness
  • engine/: Optimized simulator core (Gen 3 port in progress under src/lib/gen3)

Quick Start

# Build Showdown
cd pokemon-showdown && npm install && npm run build

# Build engine
cd engine && npm install && npm run compile

# Build engine native addon
cd engine && node src/bin/install-pkmn-engine

Status

  • Showdown and engine build and run on Linux x86_64
  • Gen 3 module scaffold with ~10k lines of Zig implemented
  • Core battle mechanics partially implemented

Documentation

Requirements

  • Node.js >= 16.0.0
  • npm
  • Zig 0.16.0+ (bundled in engine/build/bin/zig/)