Chessmaster AI 2.0
Local-first chess coach - React/TS + native ARM64 Stockfish 19 UCI sidecar + Chrome MV3 anti-cheat guardrails.
The problem
Browser chess engines run WASM Stockfish under Chrome MV3's thread limits, and most 'coaches' are thin wrappers. I wanted a local-first coach with a real engine - and guardrails that make it a study tool, not a cheating tool.
How it's built
React/Vite/TypeScript board with chess.js rules, a Node UCI bridge to a native ARM64 Stockfish 19 sidecar (deliberately sidestepping MV3 WASM constraints), PGN import with mistake classification, and grounded UK-English tactic explanations. The Chrome MV3 shell enforces strict no-live-assistance guardrails; 4 automated test suites cover rules, review, and extension behavior.
Proof
Complete phases 1–5 locally - engine, coach, review pipeline, and extension - with test coverage and an explicit anti-cheat design stance.
Highlights
- Native Stockfish 19 sidecar beats WASM thread limits
- Mistake classification turns PGNs into structured lessons
- Anti-cheat guardrails are a feature, not an afterthought