Conways Game of Life

I wrote this shortly after the passing of John Conway, who’s responsible for devising a cellular automaton with a few simple rules that leads to some pretty extraordinary patterns.


  • Any live cell with two or three live neighbours survives.
  • Any dead cell with three live neighbours becomes a live cell.
  • All other live cells die in the next generation. Similarly, all other dead cells stay dead.

Over the 50 or so years it’s been studied to death, and is infact Turing complete (you can even play Tetris with it!)

You can read the code at