The Goal

Our game of life program has a graphical display now that looks more polished than the terminal output we began with, but graphical output deserves a graphical interface. Something like this,

.

The interface isn't huge, but you will notice a small row of icons in the upper left corner that can be used to control the execution of the game.

.

Allows one to load a saved configuration of the universe.

.

Save the current universe to a file.

Pause

Pause the simulation.

.

Advance one generation.

Fast forward

Simulate continuously.

Edit

Edit the universe, i.e. clicking the mouse will toggle the state of the cell beneath the cursor.

Clear the universe.

Clear the universe.