This implementation of Conway's Game of Life is based on this tutorial. All the Rust code that is compiled into WebAssemby is in ./gol_wasm
. It is used in the web app in the ./app
directory. Here are the instruction how to run it on the local system:
- install Rust
- install wasm-pack
- install
cargo-generate
with this command:cargo install cargo-generate
- install NodeJs if not yet on your system (version 14.x or later)
- install yarn:
npm install -g yarn
- open terminal and go into
./gol_wasm
- run
yarn build
- open second terminal and go into
./app
- run
yarn install
- run
yarn start
- open URL http://localhost:8080/