prajwaldp / wasm-game-of-life

Conway's Game of Life with Rust and Webassembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Conway's Game of Life with Rust and Webassembly

License:MIT License


Languages

Language:Rust 59.6%Language:JavaScript 30.7%Language:HTML 9.7%