I wanted to learn about WebAssembly + Rust. So I decided to reimplement Conway's Game of Life, built with Rust and WebAssembly using
wasm-pack
.
git clone https://github.com/ajmwagar/conways
cd conways
wasm-pack build
cd pkg
npm link
cd ../www
npm link conways
npm run start
open localhost:8080
in your browser
wasm-pack test --headless --firefox