/wasm-game-of-life

Conway's Game of Life with Rust and Webassembly

Primary LanguageRustMIT LicenseMIT

Conway's Game of Life with Rust and Webassembly

My implementation of Conway's Game of Life with Rust compiled to webassembly from here.

Screenschot

Features

  • Play and pause animation
  • Toggle individual cell state by clicking

Building

Install wasm-pack and run the following command:

wasm-pack build

To build the web-client, run the following command:

cd web && npm install

To run the web client (in development mode), run:

cd web && npm run dev

Running the tests

Run the test suite with the following command

wasm-pack test --firefox --headless