http://www.perlmonks.org?node_id=815767


in reply to Re^2: My Conway's Game Of Life Attempt
in thread My Conway's Game Of Life Attempt

Wouldn't that kill the cell if its $n == 2 and its alive? Basicaly if its $n==2 then the cell remains alive or dead, whichever it was already, dies if its $n<2 or $n>3, and becomes alive if $n==3.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^4: My Conway's Game Of Life Attempt
by ikegami (Patriarch) on Jan 05, 2010 at 15:36 UTC
    See what I mean by the original being unclear, I misunderstood what it did :)
      to sum the rules up: less than 2 neighbours: dead in the next turn 2 neighbours: unchanged (dead or alive) in the next turn 3 neighbours: becomes/stayes alive in the next turn more than 3 neighbours: dead in the next turn