On the Subject of Game of Life Simple

Solving this module is a matter of life and death!

The module will display a grid of squares colored either black or white. To defuse this module, the rules of Conway’s Game of Life (shown below) will need to be applied to the grid once. Note that the rules need to be applied to all the squares at the same time for each generation.

The state of each square can be toggled by clicking on it.

Entering the correct final configuration by pressing Submit will solve the module. Entering the wrong configuration this way will induce a strike.
At any time, by pressing Reset, the module will return to its initial state.

A square is considered neighbouring if it is adjacent to another square, including diagonally.

If square is black:
White neighbouring squares < 3 or > 3 Stay black
White neighbouring squares = 3 Turn white
If square is white:
White neighbouring squares < 2 or > 3 Turn black
White neighbouring squares = 2 or = 3 Stay white