mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
Conway's Game of Life
An AssemblyScript example. Continuously updates the cellular automaton and visualizes its state on a canvas.
Instructions
To build assembly/game-of-life.ts to an untouched and an optimized .wasm
including their respective .wast
representations, run:
$> npm run build
Afterwards, open game-of-life.html in a browser (ideally one that allows fetch
ing the .wasm
from the local filesystem).