## On the Subject of the Triangle CM

A machine that knows no bounds when it comes to ciphers.

From the Shape Cipher module by TracksJosh.

Create a key using the keyword on screen 1 and the Boolean Expression on screen A. Replace the * with an # in the Triangle Key below using the number on screen B with the 1st digit as the row and the 2nd digit as the column. Replace the rest of the *s with the key you made in reading order. This will be referred to as the Triangle Key.

*
*   *
*   *   *
*   *   *   *
*   *        *   *
*   *   *   *   *   *
*   *   *   *   *   *   *

Concatenate the indicated directions on screens 2 and 3 in that order. If the Submit Button is white, reverse all the indicated directions (CW <-> CCW).

For each letter of the encrypted word, do the following:

• Find the Nth letter of the encrypted word in the Triangle Key.
• Move 120° in the Nth indicated direction.
• If the letter you end up on is a #, keep rotating in that direction til you hit a letter.
• The letter you end up on becomes your Nth decrypted word.

#### Example 1

Encrypted Word: MYLK
Screen B: 76
Screen 2: ↻↺↻↺
Submit Screen: Black

O
P   E
N   S   A
B   C   D   F
G   H         I   J
K   L   M   Q   R   T
U   V   W   X   Y   #   Z

M + ↻ → C
Y + ↺ → A
L + ↻ → S
K + ↺ → # → E

Decrypted Word: CASE

#### Example 2

Encrypted Word: GSTI
Screen B: 22
Screen 2: ↻↺↻↻
Submit Screen: White

B
C   #
E   F   G
J   K   M   N
P   Q         R   S
T   U   V   W   X   Z
H   O   L   I   D   A   Y

G + ↻ → P
S + ↺ → L
T + ↻ → A
I + ↻ → N

Decrypted Word: PLAN