block by aemkei 1134658

Game of Life - 140byt.es

Game of Life - 140byt.es

An implementation of Conway’s Game of Life in less than 140 bytes of JavaScript.

See the demo: http://jsfiddle.net/aemkei/wdRcc/show/

Usage

life (
  input, // input array
  size // size (width and height) of stage
)

// returns the modificated input string

Author

Created by Martin Kleppe (@aemkei) at Ubilabs.

For more information

See the 140byt.es site for a showcase of entries (built itself using 140-byte entries!), and follow @140bytes on Twitter.

index.js

LICENSE.txt

annotated.js

package.json

test.html