Skip to content

thomasmost/popperdox

Repository files navigation

Popperdox

A project inspired by and adapted from the Rust WASM Tutorial: Implementing Conway's Game of Life

🚴 Usage

Notes on usage

Commands

  • pnpm redev - Recompile the WASM package and start the webpack dev server
  • wasm-pack build - Build the WASM package
  • wasm-pack publish - Publish the WASM package to npm
  • wasm-pack test --headless --firefox - Test in a headless browser

TODOs

  • Copy explaining interation upon each Simulation
  • Allow configuring number of starting X-cells, I-cells, and P-cells.
  • Output current number of majority I, T, and P cells as stats
  • Should X Cells spread tolerance to adjacent cells?
  • (Maybe) Allow configuring size of board?
  • (Maybe) Choose a random seed, and allow sharing a seed via query param?