Game of Life App

Joseph Biel
May 3, 2022

What is the Game of Life

The Game of Life is a simulated world that consists of an array of cells each of which is either occupied (yellow) or empty (red).

The game begins by selecting a starting set of occupied cells using the Select Starting Configuration selector and then clicking on the Select Initial Configuration button.

The game continues by repeated clicking the Next Generation button to advance to the “next generation” of occupied cells.

Rules for the Next Generation

The next generation of cells is determined as follows:

If a cell is occupied and 2 or 3 of its 8 closest cells are occupied, it survives into the next generation otherwise it becomes unoccupied in the next generation.

If a cell is not occupied and exactly 3 of its 8 closest cells are occupied, it becomes occupied in the next generation.