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.

  1. The Game You're About to Build
  2. A Crate Built for Two Targets
  3. Teaching the Crate the Rules
  4. Opening the wasm-bindgen Boundary
  5. Vite Meets wasm
  6. From FEN to Pixels
  7. Click to Move
  8. The Cheapest Opponent That Works
  9. A Game That Survives Reload
  10. The Tests That Earn Their Keep
  11. Testing Against the Real wasm
  12. Proof in a Real Browser
  13. The Wow Layer
  14. Build a Real Opponent (Bonus)

← All courses