Conway’s Game of Life

After extinction of us, what will remain from us?

Are we going to able to create a new kind of specie?

Famoust mathematician Conway has an answer for this:

Even we can not create a new specie, we can leave a living mathematical formula.

Conway’s Game of Life’s rules are so simple:

For a space that is ‘populated’:

  • Each cell with one or no neighbors dies, as if by solitude.
  • Each cell with four or more neighbors dies, as if by overpopulation.
  • Each cell with two or three neighbors survives.

For a space that is ’empty’ or ‘unpopulated’

  • Each cell with three neighbors becomes populated.

These simple rules can “simulate” a living colony (or multiple colonies movement)

Conway’s Game of Life is not a “typical computer game”. It is a “cellular automation” which is invented by Mathematician John Conway.

I always wanted to simulate John Conway’s Game of Life. Though using HTML5 technologies is a great way to simulate John Conway’s Game of Life.

I created a video about programming Game of Life using Javascript and HTML5 technologies. I used Phaser CE framework implement this algorithm.

You can watch creation video below:

https://www.youtube.com/watch?v=ozEd9LEdq0s

Also you can find source code on my Github page.

I hope you enjoy the video!

Leave a Reply

Your email address will not be published. Required fields are marked *