On the Subject of Multicolored Switches
"AAAAA AAAAA! MY EYES! SOO MANY COLORS!"
See Appendix of Colored Switches for identifying modules in the Colored Switches family.
- This module has five colored switches with colored sockets, 10 colored LEDs, and a tiny LED in the middle.
- To disarm this module, flip the switches into a key configuration while avoiding several invalid configurations.
- Obtain the following 6 sequences of 5 colors each (left to right):
- the top row of LEDs when the tiny LED is lit (set A);
- the top row of LEDs when the tiny LED is unlit (set B);
- the bottom row of LEDs when the tiny LED is lit (set C); and
- the bottom row of LEDs when the tiny LED is unlit (set D).
- You will also need the colors of the switches and the sockets.
- Decompose all colors into their Red, Green and Blue component as illustrated in Appendix C0L0R5.
- The 12 results obtained from sets A, B, C and D represent possible switch configurations. The presence of a color represents a switch flipped up and absence represents down. Refer to these as candidates. Out of those, 10 are invalid (result in a strike) and one is the key (which disarms the module). The remaining configuration is safe, as are all configurations not listed.
2. Finding the key set
- Determine which of the three color components (Red, Green and Blue) occur on the switches the maximum and minimum number of times.
- In case of ties, favor Red over the other two, and Green over Blue.
- Out of the candidates obtained from the same color component as the maximum, find the one with the most “up” switches. Favor earlier sets in case of a tie.
- Out of the candidates obtained from the same color component as the minimum, find the one with the fewest “up” switches. Favor earlier sets in case of a tie.
- If the amount of “up” switches in the two candidates are both even or both odd, the set containing the minimum candidate is the key set. Otherwise, it is the set containing the maximum candidate.