On the Subject of The Fan
I'm already a huge fan...
- The lower button toggles the fan’s power.
- The upper button toggles the fan’s direction.
- The fan has three states: Stationary, Spinning Clockwise, and Spinning Counter-Clockwise
- The fan’s direction can only be changed when the power is on.
- The fan will initially not be powered on. If the fan starts powered on, this is not the correct manual.
- When the display shows the word “Power”, pressing the power button twice quickly will defuse the module.
- Pressing the power button twice quickly when the display does not show the word “Power”, will result in a strike.
- Solving a module which is not ignored by this module with the fan in an incorrect state will result in a strike.
- The text on the display will change after solving a module.
Determining the Correct Fan State
Step 1: Calculate Letter x
- Start with the number of solved modules.
- Add the sum of the digits in the serial number.
- Subtract the sum of the letters in the serial number (A = 1, Z = 26).
- Add or subtract 26 until the result is between 1 and 26 inclusive.
- Convert this number to a letter and remember it as x.
Step 2: Calculate Letter y
- Sum all digits and letters (A = 1, Z = 26) in the name of the module being solved.
- Subtract all digits and letters (A = 1, Z = 26) on the fan’s display screen.
- Add or subtract 26 until the result is between 1 and 26 inclusive.
- Convert this number to a letter and remember it as y.
Step 3: Determine Fan Behavior
- If both x and y are vowels (A, E, I, O, U), the fan must be stationary.
- Otherwise, if both x and y are present in the name of the module being solved, the fan must be spinning clockwise.
- Otherwise, if both x and y are present in the serial number, the fan must be spinning counter-clockwise.
-
Otherwise, the state of the fan is (x + y) % 3 - 1
(-1 is counter-clockwise, 0 is stationary, and 1 is clockwise.)