Instantly share code, notes, and snippets.

Embed
What would you like to do?
A straight J port of Dyalog's APL implementation of Conways's game of life (http://www.youtube.com/watch?v=a9xAKttWgP4)
life =: 3 : '+./ (1 ,: y) *. 3 4="0 _ +/ +/ 1 0 _1 |."1/"(0 _) 1 0 _1 |./"0 _ y'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment