Game of Life in all languages (rosettacode.org)
If Hello World is inadequate, what canonical program would better serve to demonstrate the salient features of a programming language?
...
One suggestion (from David Pearce) was Conway’s Game of Life: a simple simulation of finite automata. This seems like a good demonstration of most of the properties.
http://ejrh.wordpress.com/2012/05/10/beyond-hello-world/
5 comments
[ 3.6 ms ] story [ 23.4 ms ] thread...
One suggestion (from David Pearce) was Conway’s Game of Life: a simple simulation of finite automata. This seems like a good demonstration of most of the properties.
http://ejrh.wordpress.com/2012/05/10/beyond-hello-world/
For example, on this input:
the output is: Here is the code, for bash or similar shells:It is quite cool, though, to see a common problem solved in such a wide variety of languages.
s/all languages/lots of languages/g