On the Subject of Speed Test
No, this is not the chart. This is patrick! Come get your order as quick as you can!
On the module, there is a large button, which is the only thing you can press. The button cycles through 10 random colors from the list: Red, Green, Blue, Yellow, Cyan, Magenta, White, and Black.
How to solve the module.
The first step is to calculate the number of presses, which can be calculated by taking each color, getting each R, G, and B value as a sum, and using this formula.
(Sum of R values × Sum of G values × Sum of B values) % 300.
However, there is a time limit that starts when you start the first press. Just take the number of presses and divide by 4 (truncate all fractional parts) to get it. The time limit is always in seconds.
If you get the number of required presses before the time limit is reached, the module will solve. But if you don’t get enough presses, or you go over the amount, when the time limit is reached, you will strike.
R | G | B | |
---|---|---|---|
Red | 1 | 0 | 0 |
Green | 0 | 1 | 0 |
Blue | 0 | 0 | 1 |
Yellow | 1 | 1 | 0 |
Cyan | 0 | 1 | 1 |
Magenta | 1 | 0 | 1 |
White | 1 | 1 | 1 |
Black | 0 | 0 | 0 |