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.