Sarsoo / game-of-life

Rust WASM-based game-of-life

Home Page:https://life.sarsoo.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of Life

gof-ci

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

About

Rust WASM-based game-of-life

https://life.sarsoo.xyz/


Languages

Language:Rust 37.8%Language:JavaScript 35.0%Language:HTML 24.4%Language:Dockerfile 2.8%