2017-12-14 16:50:59 +01:00

547 B

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 fetching the .wasm from the local filesystem).