Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    life←{⊃1 ⍵ ∨ .∧ 3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}


and if you want some additional explanation:

https://aplwiki.com/wiki/Conway%27s_Game_of_Life




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: