5.4. Homework#

Use your answer to Exercise 5.5 to create a Python notebook which simulates the Game of Life. The notebook should be well-organised with import statements, functions and executable code clearly separated.

Investigate how the long-term behaviour of the simulation depends on the initial conditions. Can you find initial states that result in the following?

  1. All life eventually dying out

  2. A pattern which eventually stays constant

  3. A pattern which eventually repeats in a cyclic manner

  4. A pattern which grows indefinitely

Use markdown cells to clearly explain your answers.