On the Subject of Linq
The module has 6 toggleable LEDs, and text that acts as a submit button. There are 3 stages.
Listen to LEDs' pitches when pressed to identify which order they follow from the table. This determines their position, and which of the 6 characters from the serial number they use.
Refer to the row in the table below that matches the first line of the text. If the LED follows the condition, set it to the table's "Set". Otherwise, ignore them. In this table, ¤ refers to things shown in the second line of the text.
|First||It isn’t the first lit LED.||OFF|
|Last||It isn’t the last lit LED.||OFF|
|Min||Its character isn’t the lowest value* of the lit LEDs.||OFF|
|Max||Its character isn’t the highest value* of the lit LEDs.||OFF|
|Distinct||An earlier position has its character.||OFF|
|Skip||It is part of the first ¤ lit LEDs.||OFF|
|SkipLast||It is part of the last ¤ lit LEDs.||OFF|
|Take||It isn’t part of the first ¤ lit LEDs.||OFF|
|TakeLast||It isn’t part of the last ¤ lit LEDs.||OFF|
|ElementAt||Its not the (¤ + 1)th lit LED.||OFF|
|Except||Its character is shown in ¤.||OFF|
|Intersect||Its character is not shown in ¤.||OFF|
|Concat||Its character is shown in ¤.||ON|
|Append||Its character is shown in ¤, AND it is after all lit LEDs.||ON|
|Prepend||Its character is shown in ¤, AND it is before all lit LEDs.||ON|
* Value = If it’s a letter, their value is 9 plus their alphabetic position.