source file:
conwaytl.c
Goals:
Conway's game of life simulation.
Usage example:
only tested under linux environment.
compile:
gcc -o conwaytl -std=c99 -Wall conwaytl.c
gcc -o conwaytl -std=c99 -Wall -Wextra -pedantic-errors conwaytl.c
run:
./conwaytl toad
./conwaytl glidER
./conwaytl
stop:
press Ctrl-C to exit.
Reference:
https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Example: