Life-like cellular automaton

cellular automaton based on Moore neighborhoods on a square grid with outer totalistic update rule