Canvas Demo 3

Aus ProgrammingWiki

Wechseln zu: Navigation, Suche

The Game of Life is not your typical computer game. It is a 'cellular automaton', and was invented by Cambridge mathematician John Conway.

For a space that is 'populated':

  • Each cell with one or no neighbors dies, as if by loneliness.
  • 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.

Persönliche Werkzeuge