See 1st link in header below for download URL:
# tags: automata, cell, life, awk, ANSI, code
#
# an awk adaptation of conway's game of life 4x...
# Michael Sanders 2023
#
https://busybox.neocities.org/notes/automata.txt
#
# requires the sleep command & an ANSI capable terminal,
# invoke script as: awk -v SEED=$RANDOM -f automata.txt
#
# notes...
#
# an array of 4 'colonies', along with some metrics
# for each group is displayed on the current TTY,
# to exit, press & hold key-combo CONTROL+C till the
# script processes SIGINT
#
# script will auto-exit once all 4 colonies are extinct
# but note, a given colony may reach stasis (equilibrium)
# & defy expectations, guess that's life...
#
# further reading:
#
https://en.wikipedia.org/wiki/Conway's_Game_of_Life
--
:wq
Mike Sanders