A shell implementation of the famous "game of life" as created by John H. Conway
Requires: A POSIX like shell with brace expansion support
i.e. ${variable1}
Usage:
cgol7 -flag1 -flag2 -etc
You may notice that the first couple lines of the file are preceeded with “#”. Immediately proceeding these are two default grid tiling options which you may set to your liking.
option-1: Size of the default grid. i.e. “#6” for 6x6, or “#16” for 16x16
option-2: The data for the default grid.
flags:
-h: help
-a: specify what alive cells will look like
-n: specify what dead cells will look like
-s: size of grid NxN
-f: specify file to draw grid from
-gen: only works with the “grid” executable installed; when installed this script will enable you to generate a random grid with a set size: i.e.
cgol7 -gen 30
Be aware that the this will create a file named cgol.grid in the current directory
-c: capture all stages of a given game
First open a terminal
cd Downloads
chmod +x installer.sh
./installer.sh