An implementation of Conway's Game of Life in less than 140 bytes of JavaScript.
See the demo: http://jsfiddle.net/aemkei/wdRcc/show/
life (
input, // input array
size // size (width and height) of stage
)
// returns the modificated input string
Created by Martin Kleppe (@aemkei) at Ubilabs.
See the 140byt.es site for a showcase of entries (built itself using 140-byte entries!), and follow @140bytes on Twitter.
I just made a similar 140bytes project, because I didn't know this one existed.
But I managed to make it 7 bytes smaller!
https://gist.github.com/xem/6465061.
I'll try to make a correct wrapping with the remaining space.
Cheers!