On the Subject of Cruel Game of Life

Live a colorful life, they say. They’re wrong. Colors just make life cruel.

See the original manual for the original instructions.

Interaction Action
Click a cell Toggle between a cell and an empty cell
Right-click a cell Mark a cell to change in the next iteration
• If the square isn’t flashing, simply use the rule from Table B.
• If the square is flashing one color, turn the square black if the rule applies and white if it doesn’t.
• If the square is flashing 2 primary colors, use the rule for the mixture of 2 colors.
• If the square is flashing a primary color and a secondary color, and the secondary color contains the primary color as its component, use the rule for the primary color, otherwise use the rules for the secondary color.
• If the square is flashing 2 secondary colors, use the rules for the primary color that is a component of both flashing colors.
• If the square is flashing 2 colors and one of them is brown, use the rule for brown if the last digit of the serial number is even, otherwise use the rule for the other color.

Rules:

Table A
A square is considered neighbouring if it is adjacent to another square, including diagonally.

If square is black:
 White neighbouring squares < 3 or > 3 Stay black White neighbouring squares = 3 Turn white
If square is white:
 White neighbouring squares < 2 or > 3 Turn black White neighbouring squares = 2 or = 3 Stay white
Table B
Color of square: Turns white if:
Red At least one strike*, unless there are no batteries
Orange Less than half of the bomb’s original time limit is displayed on the timer*, unless a CAR indicator is present
Yellow There are more lit than unlit indicators, unless an RJ-45 port is present
Green Even number of solved modules*, unless a CLR indicator is present
Blue Serial number contains at least one letter in common with the word “Sea” or “Sky”, unless an SND indicator is present
Purple There are more unlit than lit indicators, unless there are at least 4 batteries
Brown There are at least 3 different port types, unless there are no indicators
* Calculated when Submit is pressed
Appendix: primary and secondary colors
• Primary colors are red, blue and yellow
• Secondary colors are purple, green and orange
• Mixing red and blue makes purple
• Mixing blue and yellow makes green
• Mixing red and yellow makes orange
• Mixing all 3 primary colors makes brown

Diagram source: http://www.tomjewett.com/colors/paint.html