Example code of "game of life" written in various languages.
Each implementation has the same file API
Input are three command line arguments separated by a space
- Number of generations to run
- Text file that represents the initial grid
- Output file name of GIF animation
The text file is formatted as RLE
See LifeWiki for examples of patterns.
Output to command line is a single number representing the execution time of the main loop. The other output is a GIF animation of the generations.