kacha mukabe
Aug 31, 2018 · 1 min read

Thank you, I’ll try to comment better next time, realised the code needs a few more of them. The game of life is a cellular automaton, basically start with a random grid of cells and they follow certain rules:

  1. If a cell has less than 2 neighbors it dies.
  2. If it has 2 or 3 neighbors it survives to the next generation.
  3. If it has more than 3 neighbors it dies as if by overpopulation.
  4. Then any dead cell with 3 love neighbors becomes a live cell, as if by reproduction.

I got the rules from Wikipedia

    kacha mukabe

    Written by