Skip to content

Instantly share code, notes, and snippets.

@Bandd-k
Last active April 1, 2018 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bandd-k/5a954e8e971f3bda6fddd6f7c56ccebd to your computer and use it in GitHub Desktop.
Save Bandd-k/5a954e8e971f3bda6fddd6f7c56ccebd to your computer and use it in GitHub Desktop.
try

Life WWDC Game

Created by Denis Karpenko

It is a very colorful and bright implementation of amazing "Game of Life" which devised by the British mathematician John Horton Conway in 1970

Rules of Game

  • Any animal with fewer than two live neighbors dies as if caused by underpopulation
  • Any animal with two or three neighbors lives on to the next generation
  • Any animal with more than three neighbors dies, as if by overpopulation
  • Any empty cell with exactly three live neighbors becomes an animal, as if by reproduction
  • Any animal cannot live longer than the maxLife parameter (It is not an original rule, you can turn off it by setting zero value)

There is a list of parameters which you can play with! You can choose animals, landscape, lifetime and so on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment