16 lines
546 B
Markdown
Raw Normal View History

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.
Instructions
------------
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:
```
$> 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).