Video of Conway's Game of Life, a classic cellular automaton devised by the British mathematician John Horton Conway in 1970.
I coded it based on the following rules:
1) Any live cell with fewer than two live neighbours dies, as if by underpopulation.
2) Any live cell with two or three live neighbours lives on to the next generation.
3) Any live cell with more than three live neighbours dies, as if by overpopulation.
4) Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
The matrix is 30x30 and the initial values are randomly generated.
In the video 200 iterations are shown.
![](https://i.ytimg.com/vi/bXzAMLIJ4sg/mqdefault.jpg)