On the Subject of XmORse Code

This would be easier to solve if these flashes made actual letters.

On the module you will see 5 letters that will repeatedly flash. Your goal is to figure out what order you should press the letters. Pressing the letters in the wrong order will cause a strike and generate a new set of letters and flashes.

Step 1: Getting the first string

  • Each letter will have a different sequence of flashes, each comprised of 2 parts with a pause between.
  • The first part is used for this step. It is marked with a long pause before it.
  • This part is a sequence of dots and dashes but it won’t necessarily be valid letter or number in morse.
  • Take each part in reading order (left to right, top to bottom) and convert them into binary where a dot = 0 and a dash = 1.
  • Concatenate the binary into one string.

Step 2: Getting the second string

  • Convert each letter to morse code (use Appendix MORSE if you don’t know morse code).
  • Convert the morse code to binary in the same way as before.
  • Concatenate the binary into one string.
  • Both strings will always be the same length.

Step 3: XOR

  • Use the truth table below to XOR the 2 binary strings.
    Bit 1Bit 2Output
    000
    011
    101
    110
  • The second part of the flashes is a number in morse code.
  • Use the 5 numbers to break the output of the XOR into 5 parts.
  • For example, if the 5 numbers were 3, 1, 2, 2, and 1 and the binary string was 101101100, the result would be 101, 1, 01, 10 and 0.

Step 4: Getting the order

  • Convert the binary into morse where 0 = a dot and 1 = a dash.
  • Translate the morse into a word (use Appendix MORSE if you don’t know morse code).
  • Look up the word in the table below to get the order that the letters should be pressed.
WordOrderWordOrder
ADMIT4 2 3 5 1MUTED1 5 4 3 2
AWARD2 5 3 4 1NERDS5 4 3 1 2
BANJO4 2 1 5 3NIXIE2 4 3 5 1
BRAVO3 2 4 5 1OOZED1 4 2 5 3
CHILL3 2 5 4 1OXIDE1 3 4 2 5
CYCLE4 1 5 2 3PARTY2 5 3 1 4
DECOR3 1 5 4 2PURSE1 4 5 3 2
DISCO1 2 5 3 4QUEST1 2 3 4 5
EERIE5 3 2 1 4RETRO4 2 1 3 5
ERUPT4 3 1 2 5ROUGH1 4 5 2 3
FEWER2 4 5 3 1SCOWL4 1 3 5 2
FUZZY2 1 4 5 3SIXTH4 3 1 5 2
GERMS4 1 3 2 5THANK5 3 2 1 4
GUSTO2 3 4 5 1TWINE4 2 5 1 3
HAULT4 5 3 2 1UNBOX2 3 5 1 4
HEXED1 2 5 3 4USHER5 3 2 1 4
ICHOR1 3 5 4 2VIBES4 1 5 3 2
INFER3 1 4 5 2VOICE1 4 2 3 5
JEWEL3 1 5 2 4WHIZZ1 3 4 2 5
KTANE5 4 1 2 3WRUNG1 2 4 5 3
LADLE1 5 3 2 4XENON2 1 4 3 5
LYRIC3 5 2 1 4YOLKS3 2 4 5 1
MANGO5 1 4 3 2ZILCH4 5 3 1 2

Appendix MORSE

The optimized procedure begins on the next page.

Step 4OptA: The Optimized Order Seeker (Step 3’s Separation)

“Dist.” refers to each of the 2nd part of the Morse flashed in reading order. Ambiguities are color-coded for convenience and require partial decoding.

Dist.WordOrderDist.WordOrder
2 3 2 2 1ADMIT4 2 3 5 12 3 1 1 3MUTED1 5 4 3 2
2 3 2 3 3AWARD2 5 3 4 12 1 3 3 3NERDS5 4 3 1 2
4 2 2 4 3BANJO4 2 1 5 32 2 4 2 1NIXIE2 4 3 5 1
4 3 2 4 3BRAVO3 2 4 5 13 3 4 1 3OOZED1 4 2 5 3
4 4 2 4 4CHILL3 2 5 4 13 4 2 3 1OXIDE1 3 4 2 5
4 4 4 4 1CYCLE4 1 5 2 34 2 3 1 4PARTY2 5 3 1 4
3 1 4 3 3DECOR3 1 5 4 24 3 3 3 1PURSE1 4 5 3 2
3 2 3 4 3DISCO1 2 5 3 44 3 1 3 1QUEST1 2 3 4 5
1 1 3 2 1EERIE5 3 2 1 43 1 1 3 3RETRO4 2 1 3 5
1 3 3 4 1ERUPT4 3 1 2 53 3 3 3 4ROUGH1 4 5 2 3
4 1 3 1 3FEWER2 4 5 3 13 4 3 3 4SCOWL4 1 3 5 2
4 3 4 4 4FUZZY2 1 4 5 33 2 4 1 4SIXTH4 3 1 5 2
3 1 3 2 3GERMS4 1 3 2 51 4 2 2 3THANK5 3 2 1 4
3 3 3 1 3GUSTO2 3 4 5 11 3 2 2 1TWINE4 2 5 1 3
4 2 3 4 1HAULT4 5 3 2 13 2 4 3 4UNBOX2 3 5 1 4
4 1 4 1 3HEXED1 2 5 3 43 3 4 1 3USHER5 3 2 1 4
2 4 4 3 3ICHOR1 3 5 4 24 2 4 1 3VIBES4 1 5 3 2
2 2 4 1 3INFER3 1 4 5 24 3 2 4 1VOICE1 4 2 3 5
4 1 3 1 4JEWEL3 1 5 2 43 4 2 4 4WHIZZ1 3 4 2 5
3 1 2 2 1KTANE5 4 1 2 33 3 3 2 3WRUNG1 2 4 5 3
4 2 3 4 1LADLE1 5 3 2 44 1 2 3 2XENON2 1 4 3 5
4 4 3 2 4LYRIC3 5 2 1 44 3 4 3 3YOLKS3 2 4 5 1
2 2 2 3 3MANGO5 1 4 3 24 2 4 4 4ZILCH4 5 3 1 2

Step 4OptB: The Optimized Order Seeker (Morse Decode Reference)

Morse ReferenceWordOrderMorse ReferenceWordOrder
.- -.. -- .. -ADMIT4 2 3 5 1-- ..- - . -..MUTED1 5 4 3 2
.- .-- .- .-. -..AWARD2 5 3 4 1-. . .-. -.. ...NERDS5 4 3 1 2
-... .- -. .--- ---BANJO4 2 1 5 3-. .. -..- .. .NIXIE2 4 3 5 1
-... .-. .- ...- ---BRAVO3 2 4 5 1--- --- --.. . -..OOZED1 4 2 5 3
-.-. .... .. .-.. .-..CHILL3 2 5 4 1--- -..- .. -.. .OXIDE1 3 4 2 5
-.-. -.-- -.-. .-.. .CYCLE4 1 5 2 3.--. .- .-. - -.--PARTY2 5 3 1 4
-.. . -.-. --- .-.DECOR3 1 5 4 2.--. ..- .-. ... .PURSE1 4 5 3 2
-.. .. ... -.-. ---DISCO1 2 5 3 4--.- ..- . ... -QUEST1 2 3 4 5
. . .-. .. .EERIE5 3 2 1 4.-. . - .-. ---RETRO4 2 1 3 5
. .-. ..- .--. -ERUPT4 3 1 2 5.-. --- ..- --. ....ROUGH1 4 5 2 3
..-. . .-- . .-.FEWER2 4 5 3 1... -.-. --- .-- .-..SCOWL4 1 3 5 2
.-.. .-- --.. --.. -.--FUZZY2 1 4 5 3... .. -..- - ....SIXTH4 3 1 5 2
--. . .-. -- ...GERMS4 1 3 2 5- .... .- -. -.-THANK5 3 2 1 4
--. ..- ... - ---GUSTO2 3 4 5 1- .-- .. -. .TWINE4 2 5 1 3
.... .- ..- .-.. -HAULT4 5 3 2 1..- -. -.... --- -..-UNBOX2 3 5 1 4
.... . -..- . -..HEXED1 2 5 3 4..- ... .... . .-.USHER5 3 2 1 4
.. -.-. .... --- .-.ICHOR1 3 5 4 2...- .. -... . ...VIBES4 1 5 3 2
.. -. ..-. . .-.INFER3 1 4 5 2...- --- .. -.-. .VOICE1 4 2 3 5
.--- . .-- . .-..JEWEL3 1 5 2 4.-- .... .. --.. --..WHIZZ1 3 4 2 5
-.- - .- -. .KTANE5 4 1 2 3.-- .-. ..- -. --.WRUNG1 2 4 5 3
.-.. .- -.. .-.. .LADLE1 5 3 2 4-..- . -. --- -.XENON2 1 4 3 5
.-.. -.-- .-. .. -.-.LYRIC3 5 2 1 4-.-- --- .-.. -.- ...YOLKS3 2 4 5 1
-- .- -. --. ---MANGO5 1 4 3 2--.. .. .-.. -.-. ....ZILCH4 5 3 1 2