All the codes are available in this repository.
The Eigen package is used to create a 2D array which is the game of life universe. The trick is to use the command “system(“clear”)” in the code to reprint at the same place by clearing the screen. Further, the print rate can be controlled using the “usleep(100000)” command to generate pleasing prints in the terminal. This is my first code written exploring cellular automata systems.
Wikipedia interestingly describes it as a zero-player game. It was first proposed by John Horton Conway in 1970. You can see the game explained by himself in this Numberphile video.