2022-09-17 22:50:05 +01:00
2021-06-22 21:05:22 +01:00
2020-10-11 21:46:15 +01:00
2024-07-22 19:20:20 +01:00
2022-05-05 23:11:32 +01:00
2021-06-22 15:28:31 +01:00

Game of Life

gof-ci

Try it Out!

WASM-based game of life following the Rust WASM book tutorial.

Rust WASM module for game logic with a JS frontend for rendering and processing user input.

Building

  1. Setup a Rust + wasm-pack environment and a Node environment
  2. Build the Rust library into a WASM module
    • wasm-pack build
  3. Move to the Js workspace
    • cd www
  4. Install the Js dependencies
    • npm install
  5. Build the Js frontend with Rust WASM module
    • npm run build
Languages
Rust 37.8%
JavaScript 35%
HTML 24.4%
Dockerfile 2.8%