DEV Community

Discussion on: It's alive! Simulate organisms with Conway's game of life on a canvas ๐Ÿงซ๐Ÿ”‹

Collapse
 
eljayadobe profile image
Eljay-Adobe

When discussing Conway's Game of Life, I always like to provide the APL version of the code. For contrast with the language that is being presented, in this case in contrast with JavaScript (and HTML and CSS).

APL version of Conway's Game of Life.
life โ† {โŠƒ1 โต โˆจ.โˆง 3 4 = +/ +โŒฟ ยฏ1 0 1 โˆ˜.โŠ– ยฏ1 0 1 โŒฝยจ โŠ‚โต}

At the age of 82, Dr. John Horton Conway passed away on 2020-Apr-11, from COVID-19.

For an high-level introduction to APL, the article a Glimpse of Heaven by Bernard Legrand.

Collapse
 
thormeier profile image
Pascal Thormeier

I haven't used APL before and it does look interesting indeed. Thank you for sharing this implementation! An interesting video you might like is Dr. Conway talking about the Game of Life himself, over at Numberphile. He said he used to even hate it, because he didn't find it all too interesting and it was overshadowing much more important things.