Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 987 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 987 Bytes

Conway's Game of Life with Rust & WebAssembly

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:

Requirements

  • 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

Build WebAssembly Files

  • open terminal and go into ./gol_wasm
  • run yarn build

Run Game of Life App