GitHunt
TO

English · 繁體中文 · 简体中文 · 日本語 · 한국어 · Deutsch · Español · Français · Italiano · Nederlands · Português

GOMOKU

Think you can beat an AI at the world's oldest strategy game?

Play Now

Free. No signup. No download. Just play.


Gameplay with timer and controls
Real-time Gameplay
Turn timer, AI thinking indicator, undo — all at your fingertips
Game end screen
Can You Beat the AI?
Dramatic endings with animated kaomoji — win or lose
Settings sheet
Customize Everything
5 difficulty levels, play as Black or White, W/L/D stats
Move-by-move replay
Review Any Game
Step through moves, see AI thinking time

Why This One?

  • Unbeatable AI — Rust-powered engine compiled to WebAssembly. Sub-100ms moves. Good luck.
  • Runs in your browser — No app to install, no account to create. Works on any device.
  • Mobile-first — Touch-optimized for phones and tablets. Instant load.
  • 11 languages — English, 繁體中文, 简体中文, 日本語, 한국어, Deutsch, Español, Français, Italiano, Nederlands, Português.
  • Game history & replay — Every game saved. Step through any past match move-by-move.

For Developers
git clone https://github.com/tombelieber/gomoku.git
cd gomoku
bun install
bun run build:engine   # Compile Rust → WASM
bun run dev            # http://localhost:5173

Prerequisites: Rust · Bun · wasm-pack

Layer Tech
Engine Rust, WebAssembly, wasm-pack
Frontend React 19, TypeScript, Zustand, Vite
Hosting Cloudflare Pages

AI Engine Benchmark (minimax + alpha-beta pruning, mid-game position):

Difficulty Search Depth Candidates/Node Native (M1 Max) WASM (Browser)
Easy 1 all < 1 ms < 1 ms
Medium 2 all < 1 ms < 1 ms
Hard 4 15 ~9 ms ~30 ms
Expert 6 10 ~35 ms ~150 ms
Master 8 8 ~312 ms ~1.2 s

See CONTRIBUTING.md and ARCHITECTURE.md for deep dives.


Rust WASM React 19 MIT License

Star on GitHub · open-gomoku.pages.dev · MIT License · Made by Tom Tang

Contributors

MIT License
Created March 7, 2026
Updated March 8, 2026