Play vs AI
A Go opponent that runs entirely in your browser
The "Play vs AI" mode lets you play live 9×9, 13×13, or 19×19 games against a neural-network opponent. Unlike most online Go AIs, every move is computed on your device — no server round-trip, no account required, works offline once loaded.
Getting Started
- Go to /play/ai (or pick "Play a Game" on the Train page).
- Pick the board size: 9×9, 13×13, or 19×19, and whether you play Black or White.
- Set the opponent strength with the slider: left is easiest (30 kyu), right is hardest (4 kyu). Go ranks count down as you improve — 30 kyu is a brand-new player and 1 kyu is just below dan (expert) level. Open "What do kyu ranks mean?" under the slider for the full breakdown.
- Optionally pick a handicap (0.5 komi, or 2–4 black stones) to even the odds.
- Optionally set the Help slider (below).
- Click "Start Game". With a stone handicap, the bot moves first.
When a game ends, a Next game prompt offers up to three one-tap choices: an easier bot and more help after a loss, a harder bot and less help after a win, or the same settings again.
Help While You Play
Set the Help slider on the setup screen, or change it during a game in the Coaching bar beside the board (under it on a phone). Each step adds one kind of help on top of the ones before it, from least to most:
- Scoreboard — your chance of winning and the estimated score difference, updated after every move.
- Control Map — a button that shades who controls each area of the board right now (green for you, red for the bot), until you move.
- Explore — a scratch copy of the game where you place stones for both sides to play out a line, then go back to the real game.
- Ask the Coach — twice per game, show the best moves for your turn when you're stuck.
- Blunder Check — after a big mistake (a large drop in win chance, or several points lost), the bot waits. You see what the move cost and better alternatives, and can take it back or keep it.
- Live Analysis — the full review board on every turn: the best move starred and other moves shaded by how many points they lose.
Prefer a different mix? Click Customize under the slider to switch each one on or off. Your choice is remembered.
See Help Modes for more on each level and when to use it.
How a Game Ends
The game ends when either:
- Both players pass consecutively
- One player resigns
After two passes, the AI runs one final evaluation to identify any dead stones still on the board (groups it thinks are functionally captured). Those stones are marked with a red X and counted as prisoners for the surrounding color, then territory is counted using Japanese rules: empty territory + prisoners + komi (7 on 9×9, 6.5 on 13×13 and 19×19).
If you and the AI disagree about which stones are dead, just keep playing — the dead-stone identification only runs after both sides have decided the game is over.
How It Works
The AI is a converted KataGo neural network — specifically the b6c96 model (6 residual blocks, 96 channels, ~3M parameters). The exact same model handles all three board sizes: KataGo networks are trained on positions from every standard board size, and the ONNX export preserves dynamic spatial dimensions. The model was converted from KataGo's native format to ONNX and is served via ONNX Runtime Web running on WebAssembly.
On first visit the browser downloads ~16 MB of assets (4 MB model file + ~12 MB WASM runtime) and caches them — subsequent games load instantly regardless of board size.
Each move:
- The current board position is encoded into KataGo's 22-channel input format
- The neural network produces a probability distribution over all legal moves plus pass
- Depending on the bot's rank, it either plays the top move or picks from a wider pool of plausible moves, the way a weaker player would
- If the model strongly favors passing, the bot passes
There's no tree search — just one forward pass per move. That's why even the strongest setting tops out around 4 kyu rather than playing at superhuman strength. Adding Monte Carlo Tree Search on top of this network would push it 3–5 stones stronger; it's on the roadmap.
Privacy
The bot runs in your browser, so moves are computed on your device and no account is needed. When a game finishes, its moves and result are saved to our server so you can open Review Game afterwards; if you're not signed in, the game is saved without being linked to an account. Games you abandon before they finish aren't saved.
Known Limitations
- Approximate strength estimates. The kyu ratings come from the ranks of the players the bot learned from, not from rated play against people.
- Unfinished games are lost. Closing the tab mid-game discards it.
Feedback
Found a bug? Got a position where the AI plays badly? Please let us know with the flag button on any practice position.