Branch from Chess
Build a Chess Game with Rust and WebAssembly
Build a complete chess game that runs entirely in the browser: a Rust engine compiled to WebAssembly, a Lit web component in front of it, and real tests at every layer. Free and text-first.
- Level
- intermediate
- Lessons
- 14
- Price
- Free
Stops on this branch
14 lessons, about 13 hours.
- 1The Game You're About to Build40 min
- 2A Crate Built for Two Targets50 min
- 3Teaching the Crate the Rules60 min
- 4Opening the wasm-bindgen Boundary50 min
- 5Vite Meets wasm45 min
- 6From FEN to Pixels60 min
- 7Click to Move60 min
- 8The Cheapest Opponent That Works60 min
- 9A Game That Survives Reload65 min
- 10The Tests That Earn Their Keep50 min
- 11Testing Against the Real wasm65 min
- 12Proof in a Real Browser55 min
- 13The Wow Layer70 min
- 14Build a Real Opponent (Bonus)75 min
Terminus A Rust engine in WebAssembly, a Lit board, 54 tests.