Conway's Game of Life

A 50x50 array is generated and randomly populated with either living or dead cells.

The array is displayed as a grid of <div> elements and then, every 0.5 s, the array of cells is processed using the rules set out in Conway's Game of Life.

The new generation of cells is then displayed. If they all die, you will be notified.