## On the Subject of Binary Squares

You'll be sick of binary after this.

The module features a grid of 16 colored squares. They are initially colored randomly and to solve the module, a final configuration of colors must be reached. The possible colors include red, blue, lime, yellow, magenta, cyan, white, and black.

To apply a filter, first create a modified filter by XORing the current grid’s pixel colors by the respective pixels in the filter. Then, apply the operator of each color (operators found under Appendix A) in the modified filter to the current grid’s respective squares.

Follow all the rules below until you either reach the end of the list or you have followed three rules. For each of the true statements, modify your color grid accordingly.

- If there are more than four white pixels, apply Filter 1.
- At this point, if the top-left pixel is either black, white, or blue, apply Filter 2.
- At this point, apply Filter 3.
- At this point, if the sum of the digits in the serial number is odd, apply Filter 4.
- At this point, if there are more green squares on the top two rows than the bottom rows, apply Filter 5.
- At this point, apply Filter 6.
- At this point, if the serial number has a letter from A to J, apply Filter 7.
- At this point, apply Filter 8.

Click each square to change its color. To submit your answer, press the button on top of the grid. If you have 4 or fewer mistakes, you won’t get a strike. The module will then display which squares are wrong using the base-7 number system. The digits are as follows:

0 | 1 | 2 | 3 | 4 | 5 | 6 |

0 | 1 | 2 | 3 | 4 | 5 | 6 |