2017-12-13 00:11:45 +01:00
Conway's Game of Life
=====================
2017-12-14 16:50:59 +01:00
An [AssemblyScript ](http://assemblyscript.org ) example. Continuously updates the cellular automaton and visualizes its state on a canvas.
2017-12-13 00:11:45 +01:00
Instructions
------------
2018-02-19 19:16:16 +01:00
To build [assembly/game-of-life.ts ](./assembly/game-of-life.ts ) to an untouched and an optimized `.wasm` including their respective `.wat` representations, run:
2017-12-13 00:11:45 +01:00
```
$> npm run build
```
2017-12-14 12:30:58 +01:00
Afterwards, open [game-of-life.html ](./game-of-life.html ) in a browser (ideally one that allows `fetch` ing the `.wasm` from the local filesystem).