Conway's Game of Life written in Rust and WebAssembly from the official book Rust and WebAssembly.
rustup
rustc
cargo
wasm-pack
cargo-generate
npm
Follow the Setup guide from the official book.
Infinite Universe
Fixed-size, periodic universe, where cells on the edges have neighbors that wrap around to the other side of the universe. Because neighbors wrap around the edges of the universe, gliders can keep running forever.
Executing the run.sh
script docker will:
- build the image from the
Dockerfile
- create the bridge network from the
network.sh
script - deploy the
npm
version of Conway's Game of Life withdocker-compose
To see in action the life open up your browser at 172.42.0.42:8080
.
Hack without fear!
This work is unlicensed under the terms of Unlicense.