On the Subject of Coloured Cylinder

the cylinder!!1!1!11!111111

This module has one cylinder in the center and three smaller circular buttons on the left.

The colours on this module are (R)ed, (G)reen, (B)lue, (Y)ellow, (M)agenta, (W)hite and blac(K).

The cylinder is flashing some colours with a grey pause between cycles.

Take every adjacent pair of colours (you should get one fewer pair than the number of flashes). Use the first colour of each pair as the row and the second colour as the column in the table below. Put all these digits together to get one binary sequence.

RGBYMWK
R1011011
G0111110
B1000111
Y1111001
M1101010
W0101111
K1111011

The three smaller buttons on the left will also be flashing 2 colours each with a grey pause between cycles.

For each button, ordered from top to bottom, use the first colour flashed as the row and the second as the column. Again, put these digits together to form a 3 digit binary sequence. Convert this to a decimal value and use the colour at that position in this list: RGBYMWK where 1 would be red and 2 would be green and etc. Use red as your colour if you get 0.

Note: Never discard or prepend any leading zeros.

Use this new found colour in the table below to modify your binary you got from the flashes of the cylinder.

Red Green Blue Yellow
Keep the binary the same Flip every digit (0 <-> 1) Cycle every bit 1 place to the left Cycle every bit 1 place to the right
Magenta White Black
Take out all the even positioned digits and append them to the remaining digits Reverse the first 3 bits Reverse the binary

After obtaining your new binary, convert it to decimal. This will be your target value.

Assign each small circular button a value as follows:

  • Bottom: The number of batteries + the last digit of the serial number + 3
  • Middle: Twice the bottom button’s value + the number of indicators
  • Top: Twice the middle button’s value + 1

Each time you press one of these buttons, it adds that button’s value to a total that starts at 0. You must get to the target value in exactly 6 button presses. If you get a value other than your target value at 6 presses or if you achieve the target value in less than 6 presses, the module will strike.

Upon a strike, your inputs will be cleared but the module will not generate a new answer.

Additionally, the center cylinder functions as a reset button and will clear any inputs made.