Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 546 Bytes

File metadata and controls

15 lines (10 loc) · 546 Bytes

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 .wat 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).