On the Subject of Passcodes
Seems like someone’s first attempt at overcomplicating their module. Don’t worry, anyone’s first attempt is usually a hot mess. Including mine.
The module have 2 modes: the 4-digit mode and the 6-digit mode. In the 4-digit mode, lights outside of the box are yellow. In the 6-digits mode, all lights are red. Correctly entered digits are represented by blue lights. On a strike, the module changes its mode.
4-digit mode:
- First digit: Batteries %10.
- Second digit: If any lit indicators has a vowel, digit = RJ45 + 1. If the number exceeds 9, digit = 8. Otherwise, digit = 0.
- Third digit: AA batt + PS2 + 2. If the number exceeds 9, digit = 7.
- Fourth digit: Tens digit on the bomb timer. Double it if it’s not 5 and there are 1 or 2 of the following indicators: IND, MSA, NSA, BOB, FRK.
6-digit mode:
- First digit: 8.
- Second digit: Number of 5s and 7s in SN.
- Third digit: First digit - Second digit.
- Fourth digit: AA batt + PS2 + 1. If number exceeds 9, digit = 6.
- Fifth digit: If any lit indicators has a vowel, digit = RJ45 + 2. If the number exceeds 9, digit = 9. Otherwise, digit = 1.
- Sixth digit: If there are no strikes, digit = 9. Otherwise, call the number of strikes X. Digit = (X+1)X-1. If the digit exceeds 9, %5, then double it.