A Stockfish chess trainer I specified, tested and shipped
I wanted one free chess trainer that combined opening study, games against engines of any strength, full game review, and help during casual games on a real board. I built it as a side project and ran it like a production.
I was the product owner, spec writer, QA lead and release manager. My larger features started as written specs with numbered requirements, performance targets and a done check. My God mode spec, for example, asked for a first recommendation ideally under 500 ms and said stale results must never be shown. An AI coding agent built from my specs and requests, and I reviewed, tested and sent back anything that missed the bar.
Two calls shaped the product. In early testing, a local AI model took 23 seconds and invented a weakness that was not in the position. My God mode spec then made Stockfish the only source of moves, with AI allowed only to explain the engine’s findings. Later, God mode’s best move kept changing while I watched. I sent it back until it showed one locked decision that never flips.
Live at nileshkasimahanti.org/chess as an installable app that works offline. In testing, God mode showed a locked best move in 32 to 80 ms when the opponent's reply was predicted, and piece selection appears on screen within 19 ms with the engine running.
How each release was made
The loop every release went through
1
Spec
Objective, numbered requirements, performance targets and a done check.
God mode target: first move ideally under 500 ms
2
Build
An AI coding agent built from my specs. I reviewed every build.
7 releases, each tested
3
Test
Scripted browser checks plus my own play testing on desktop and phone.
Undo verified after castling, en passant, promotion, resign
4
Measure
Timed against the targets, with the method written down.
Piece select on screen within 19 ms in testing (target 50)
5
Release
Deploy only on my go, then check the live site and commit what shipped.
Best move locks in 32 to 80 ms on predicted replies
Release timeline
Release 1MVP: opening study and AI coach
Release 2Play vs AI with live analysis
Release 3Phone redesign, board themes, 3D board, pro opponents
Release 4God mode and launch on this site5c2839b
Release 5Resign, review, undo, lag fix, shortcuts2e4ee12
Release 6Speed release: locked best moveaf27d4d
Release 7New game returns to colour choice0de62ef
The five shipped screens, as wireframes. Tap to enlarge.