# Day 93 of 101 DoCC

Day 93 of 101 DoCC – this is my fourth play with cellular automata – hereSnipe! The codepen challenge this week was birds, so I couldn’t resist. This one is using a grid and the first set of rules is from John Conway’s Game of Life.

Click to rerun and use the spacebar or arrows to change the rules. Here is a full page version. This works best on a computer.

See the Pen snipe by Sophia (@fractalkitty) on CodePen.

### Rules:

• Set 1:
• If a cell is alive and has less than 2 or more than 3 alive neighbors, it dies.
• If a cell is dead and has 3 neighbors alive, it comes back to life.
• Set 2:
• If a cell is alive and has less than 2 or more than 5 alive neighbors, it dies.
• If a cell is dead and has 3, 4, or 5 neighbors alive, it comes back to life.
• Set 3:
• If a cell is alive and has greater than 5 alive neighbors, it dies.
• If a cell is dead and has 2 neighbors alive, it comes back to life.
• Set 4:
• If a cell is alive and has less than three alive neighbors, it dies.
• If a cell is dead and has 1 or 2 neighbors alive, it comes back to life.
• Set 5:
• If a cell is alive and has 0, 1, 7, or 8 alive neighbors, it dies.
• If a cell is dead and has 0,1, or 2 neighbors alive, it comes back to life.
• Set 6:
• If a cell is alive and has 0, 1, 6, 7, or 8 alive neighbors, it dies.
• If a cell is dead and has 0, 1, or 2 neighbors alive, it comes back to life.
• Set 7:
• If a cell is alive and has an even number of alive neighbors, it dies.
• If a cell is dead and has 0 neighbors alive, it comes back to life.
• Set 8:
• If a cell is alive and has 0, 1, 5, or 8 alive neighbors, it dies.
• If a cell is dead and has less than 3 neighbor alive, it comes back to life.
• Set 9:
• If a cell is alive and has 0 or 8 alive neighbors, it dies.
• If a cell is dead and has 0 neighbors alive, it comes back to life.
• Set 10:
• If a cell is alive and has 3 alive neighbors, it dies.
• If a cell is dead and has 0 neighbors alive, it comes back to life.
• Set 11:
• snipe
• Set 12:
• feathers