Created
March 17, 2011 18:15
-
-
Save sblom/874827 to your computer and use it in GitHub Desktop.
A straight J port of Dyalog's APL implementation of Conways's game of life (http://www.youtube.com/watch?v=a9xAKttWgP4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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