Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 843 Bytes

README.md

File metadata and controls

60 lines (41 loc) · 843 Bytes

Game of Life

Conway's Game of Life implementation using Rust, Javascript and WebAssembly!

About

Try it out at https://wasm-game-of-life.shalzz.now.sh!

Run

Build the webassembly module with wasm-pack build

wasm-pack build

start the webserver with npm run start

cd www
npm run start

Open the webpage at http://localhost:808

Build

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Deploy

  1. Build the wasm module
wasm-pack build
  1. Bundle with our js and html
cd www
npm run build
  1. Deploy to @zeit/now
cd www/dist
now