The Game of Life (Live Demo)

Jørgen Nystad

John Horton Conway, the creator of Game of Life, has just passed away. Upon reading about this I realized I have never implemented Game of Life myself. So on that note, I decided to have a go.

The result is a live demo below. Pure JavaScript rendering quite simply to a canvas.

The initial state is the Gosper glider gun, a gun producing gliders indefinitely.

If you tap on the canvas, the state is reset to a randomized chaos (or something else) that will probably be interesting for a while depending on the density, which is also random.