← All projects

Let's Write Chess

A book on building a chess engine from scratch — alongside the engine itself.

wip 2025 · writing
TypeScriptpnpm workspacesJupyter Book (Sphinx)python-chess

A book that walks the reader through building a working chess engine end-to-end: board representation, move generation, search (alpha-beta + ordering), evaluation, and a playable UI. The repo holds the manuscript next to a TypeScript pnpm workspace (apps/ + packages/) with the engine and a small web app that runs it. The book itself is built with Jupyter Book on top of Sphinx, with proof / exercise / toggle / copybutton extensions for an interactive feel.