I need help with a rule table, please.
Posted: July 22nd, 2009, 8:14 pm
I am bad at making tables, so I need help with this. Here are the rules.
There are 6 states: OFF,YELLOW,RED,BLUE,GREEN, and WHITE.
Birth rules:
If a cell is surrounded by 3 YELLOW cells, that cell becomes YELLOW.
If a cell is surrounded by 3 or 6 RED cells, that cell becomes RED.
If a cell is surrounded by 3, 6, or 8 BLUE cells, that cell becomes BLUE.
If a cell is surrounded by 3, 5, or 7 GREEN cells, that cell becomes GREEN.
Stablility rules:
If a YELLOW cell is not surrounded by 2 or 3 YELLOW cells, that cell becomes OFF.
If a RED cell is not surrounded by 1, 2, or 5 RED cells, that cell becomes OFF.
If a BLUE cell is not surrounded by 2, 4, or 5 BLUE cells, that cell becomes OFF.
If a GREEN cell is not surrounded by 1, 3, 5, or 8 GREEN cells, that cell becomes OFF.
Other rules:
If 2 birth rules apply to a cell, that cell becomes WHITE.
a WHITE cell will become OFF at the next generation.
an OFF cell will stay OFF.
There are 6 states: OFF,YELLOW,RED,BLUE,GREEN, and WHITE.
Birth rules:
If a cell is surrounded by 3 YELLOW cells, that cell becomes YELLOW.
If a cell is surrounded by 3 or 6 RED cells, that cell becomes RED.
If a cell is surrounded by 3, 6, or 8 BLUE cells, that cell becomes BLUE.
If a cell is surrounded by 3, 5, or 7 GREEN cells, that cell becomes GREEN.
Stablility rules:
If a YELLOW cell is not surrounded by 2 or 3 YELLOW cells, that cell becomes OFF.
If a RED cell is not surrounded by 1, 2, or 5 RED cells, that cell becomes OFF.
If a BLUE cell is not surrounded by 2, 4, or 5 BLUE cells, that cell becomes OFF.
If a GREEN cell is not surrounded by 1, 3, 5, or 8 GREEN cells, that cell becomes OFF.
Other rules:
If 2 birth rules apply to a cell, that cell becomes WHITE.
a WHITE cell will become OFF at the next generation.
an OFF cell will stay OFF.