case study / 07 / wasm / client-only
Wasm Stockfish
A full chess client, engine and all. Stockfish compiled to WebAssembly runs in a Web Worker beside the board, with no backend in sight.
The UI sends position fen ... and go depth ... over postMessage; the worker streams info lines back as Stockfish thinks.
Because the engine is local, the product works offline. The PWA shell caches the wasm binary on first visit, so the second open is instant on a plane.