On the Subject of Rainbow Arrows

Pointedly pointless pointing.

See Appendix A for indicator identification reference.
See Appendix B for battery identification reference.
See Appendix C for port identification reference.

  • This module has eight arrow buttons in a rainbow color arrangement, and a display screen in the center showing a two-digit number.
  • Use the location of the white arrow button to determine your starting rule in the table below.
  • Follow the directions for each rule to determine what arrow to press.
  • If the rainbow pattern proceeds clockwise, move down one rule after each press; otherwise, move up one rule instead. The table wraps around.
  • All arrow presses must be unique. If a rule says to press an arrow that has already been pressed, then instead press the closest arrow that hasn't been pressed yet, in either direction. In case of a tie for distance, use the arrow reached by following the same direction as the rainbow pattern.
  • Pressing an incorrect arrow button will result in a strike, and a reset of all inputs up to that point. The number on the display and the colors of the arrows will not change, however.
  • The module will be disarmed after each arrow button has been correctly pressed once.
Start

Rule

North
1 2 3 4 5 6 7 8 9 0
Use the right digit of the display as the starting square in the maze to the right, and navigate to the square that contains the last digit of the serial number in the fewest number of moves required.

If those two digits are the same, press the diagonal arrow that corresponds to the relative location of the starting square, and ignore the rest of this section. Otherwise:
  • If the first two moves were along the same axis, start from the arrow in the direction of the first move.
  • If the first two moves were along different axes, start from the diagonal arrow formed by combining the first two moves.
From the starting arrow, move clockwise a number of steps equal to half the number of moves required, rounded down, and press the arrow in that position.
Northeast
Multiply the displayed number by four, then modulo 360.

Starting from the exact center of the white arrow, rotate clockwise by that number of degrees, then press the arrow that's closest to that position. However, if this is the fourth or eighth rule used, press the arrow directly opposite that position instead.
East
Assemble a four-bit binary (base 2) number as follows, from least to most significant.
  • Bit 1 is 1 if any diagonal direction has been pressed before this point.
  • Bit 2 is 1 if either a parallel port or serial port is present.
  • Bit 3 is 1 if the displayed number is a multiple of (number of batteries + 1).
  • Bit 4 is 1 if there are as least as many battery holders as there are port plates.
Rotate the resulting binary number right by the number of indicators, then convert it into a decimal number. Move clockwise that many steps starting from North, and press the arrow in that position.
Southeast
If this is the starting rule, press the white arrow.

Otherwise, starting from the last arrow that was pressed, move counter-clockwise until an arrow that has not been pressed yet is reached. Then, move clockwise a number of steps equal to the number of arrows pressed thus far, and press the arrow in that position.

continued on next page…

Start

Rule

South
Assign every arrow a letter from A-H, starting from the white arrow and moving clockwise. Then, start with a string of "ABCDEFGH" and modify it in the following ways:
  • Move any letters present in the serial number to the front of the string, in the order they first appear in the serial number.
  • If the last digit of the serial number is even, rotate the string forward by the first digit of the serial number.
  • If the number of batteries is odd, move all letters in odd positions to the front of the string, keeping the order they appeared.
  • If North or South has been assigned a vowel, reverse the string.
Afterwards, press the arrow that the nth letter in the string was assigned to, where n is the digital root of the displayed number, minus one. (If n is 0 or less, use 1.)
Southwest
Word # Word #
RED 1 BLUE 5
ORANGE 2 INDIGO 6
YELLOW 3 PURPLE 7
GREEN 4 DOUBLE 8
For each word in the table to the right, determine a value equal to the count of letters in the word that are present in the serial number, plus the number of modules on the bomb named "<WORD> Arrows". Take the word with the highest value and look up the number next to that word in the table; if there's a tie, use the word with the lowest number.

Starting from the white arrow, move that number of steps in the same direction as the rainbow pattern; then, press the arrow in that position.
West
yokedwhitepoetsxysti
lowertangomagicjoust
farcealongquirkhotel
zerosroyalbravovault
Using the table to the right, find the word that shares the most unique letters in common with the serial number. If there are multiple, use the first in reading order. Then, take the nth letter of the English alphabet, where n is the displayed number modulo 26, plus one.

If one of the words adjacent to the given word (orthogonally or diagonally) starts with that letter, press the arrow in the direction that would take you to that word. Otherwise, use the next letter of the English alphabet, wrapping around from Z to A if necessary, and repeat until such a word is found. The table does not wrap around.
Northwest
Take the two digits on the screen individually, and compare them to the bomb's serial number.

If both digits on the module are present, press North.
If only the left digit is present, press West.
If only the right digit is present, press East.
If neither are present, press South.