Rust WASM-based game-of-life https://life.sarsoo.xyz
Go to file
Andy Pack 14d4c72e67
Some checks failed
test and deploy / build (push) Failing after 9m57s
test and deploy / package (push) Has been skipped
removing chrome from test command
2024-07-22 19:38:40 +01:00
.gitea/workflows removing error on warnings 2024-07-22 19:31:14 +01:00
.github/workflows removing chrome from test command 2024-07-22 19:38:40 +01:00
.jenkins using registry subdomain for packages 2023-05-14 19:08:44 +01:00
src updating deps 2022-09-17 22:50:05 +01:00
tests wasm_testing working 2021-06-22 21:05:22 +01:00
www Bump terser from 5.12.1 to 5.14.2 in /www 2022-07-21 01:15:45 +00:00
.dockerignore slim images, building to docker hub from github 2023-05-16 17:47:50 +01:00
.gitignore game working 2020-10-11 21:46:15 +01:00
Cargo.toml fixing build 2024-07-22 19:20:20 +01:00
CNAME adding cname file, updating node version 2022-05-05 23:11:32 +01:00
Dockerfile updating container versions, deploy token 2024-07-22 19:27:46 +01:00
README.md added bootstrap 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