On the Subject of The Colored Peg
🫸🫓🍅🌶️🥒🍗🥬🫷 🫴 ≡ 🌯 kebab
The module consists of two buttons, "YES" and "NO", a peg with 5 colored faces, 3 colored LEDs, and 3 stage indicators. The colors on the module can be: red, green, blue, white, black, yellow, cyan and magenta. Pass 3 stages in order to solve the module. When you press the button at the wrong time or press the wrong button, the module will handle a strike. The first face of the peg has a small circle on it. Note: White is RGB, Yellow is RG, Cyan is GB, Magenta is RB, Black is nothing. Keep track of all of the colors from every stage. Any subsequent stage requires information about the colors of all the previous ones.
Stage 1
On the first stage, press "YES", if more than 4 conditions apply.
- The peg has exactly 3 distinct colors (Example: MMGGR).
- Every color of LEDs is present on the peg.
- The amount of faces that have the red component in them is more than 2.
- The bomb has lit FRQ.
- All colors on the peg are different.
- There are exactly 2 instances of the blue color on the peg + on the LEDs.
- The bomb has a module “Colour Flash”.
- The bomb has less than 4 batteries.
- The bomb has DVI port.
- The last digit of the serial number is even.
- The peg has black- and white-colored faces.
On the first stage, you can press the button at any time.
Stage 2
Count red, green and blue components on LEDs and on the peg in both stages (Example: if LEDs are RMG, amounts will be: R2 G1 B1). Let's name these numbers as X, Y, Z (in the respective order). The top-left coordinate in the table is (0, 0). Table wraps around. X is the row, Y is the column, and Z is the multiplier. Find the intersection of the row and the column. Apply the multiplier. Call this number N. Find the Nth cell in zero-indexed reading order. This is your resulting number. If this number is greater than 6, press "YES", otherwise press "NO".