Conway's Game Of Life

The wikipedia article is worth a read. So is this.

The grid on the right is made up of cells that can either be on or off ("alive" or "dead").

Click any cell to toggle between its two states.

Experiment with different configurations of "on" and "off" cells and press play to see it go.

Keep these rules in mind:

  1. Any live cell with fewer than two live neighbors dies, as if by underpopulation.
  2. Any live cell with two or three live neighbors lives on to the next generation.
  3. Any live cell with more than three live neighbors dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.