C++ Game of Life

In early High School, I decided to make a Conway’s Game of Life simulator. I thought it would be a good way for me to learn more about algorithm efficiency and hone my C++ chops.

I implemented a simple mapping function that would solely implement the specific rules Conway defined to generate the next stage in the Game. After that, to increase efficiency, I would look for common GOL structures (like gliders), and automatically generate the next state of that structure. For most of my testing, I wanted to see these structures grow, so this fix increased efficiency significantly.

A glider

It was a fun little project that also made me love the graphical style of in-terminal displays. ASCII art makes for a beautiful aesthetic.