On the Subject of Misordered Keys

Make keys ordered again!

Note: If it is not exactly one key which turns black when highlighted, you are looking at the wrong manual.

This module consists of 6 coloured keys, each of which has a 1 - 6 digit label, consisting of numbers in the range 1 - 6.

The possible colours for both the keys and the numbers labelling them are: (R)ed, (G)reen, (B)lue, (C)yan, (M)agenta, and (Y)ellow.

One of the six keys will turn black when highlighted.
This key is referred to as "K" throughout the manual.

The information given by each key is used to locate a number of cells, each within a 6x6 grid, which will have values in the range 1 - 6.

Each key has two values attributed to it. The two sets of keys each contain exactly one of each number in the range 1 - 6.

Push the keys in ascending order of the second set of key values whose positions are given by the first set of key values.

Pushing the keys in the wrong order will result in a strike.

First Key Values

Key Position = 1

Red, P1Label Colour
R G B C M Y
First
Digit
of
Label
1156423
2623541
3241635
4314256
5532164
6465312
Green, P1Label Colour
R G B C M Y
First
Digit
of
Label
1415362
2562134
3624513
4231645
5153426
6346251
Blue, P1Label Colour
R G B C M Y
First
Digit
of
Label
1621534
2346215
3132456
4453162
5265341
6514623
Cyan, P1Label Colour
R G B C M Y
First
Digit
of
Label
1534216
2215463
3456321
4162534
5341652
6623145
Magenta, P1Label Colour
R G B C M Y
First
Digit
of
Label
1342651
2154326
3563142
4625413
5416235
6231564
Yellow, P1Label Colour
R G B C M Y
First
Digit
of
Label
1263145
2431652
3315264
4546321
5624513
6152436

Key Position = 2

Red, P2Label Colour
R G B C M Y
First
Digit
of
Label
1241635
2532164
3623541
4465312
5156423
6314256
Green, P2Label Colour
R G B C M Y
First
Digit
of
Label
1624513
2153426
3562134
4346251
5415362
6231645
Blue, P2Label Colour
R G B C M Y
First
Digit
of
Label
1132456
2265341
3346215
4514623
5621534
6453162
Cyan, P2Label Colour
R G B C M Y
First
Digit
of
Label
1456321
2341652
3215463
4623145
5534216
6162534
Magenta, P2Label Colour
R G B C M Y
First
Digit
of
Label
1563142
2416235
3154326
4231564
5342651
6625413
Yellow, P2Label Colour
R G B C M Y
First
Digit
of
Label
1315264
2624513
3431652
4152436
5263145
6546321

Key Position = 3

Red, P3Label Colour
R G B C M Y
First
Digit
of
Label
1465312
2241635
3156423
4532164
5314256
6623541
Green, P3Label Colour
R G B C M Y
First
Digit
of
Label
1346251
2624513
3415362
4153426
5231645
6562134
Blue, P3Label Colour
R G B C M Y
First
Digit
of
Label
1514623
2132456
3621534
4265341
5453162
6346215
Cyan, P3Label Colour
R G B C M Y
First
Digit
of
Label
1623145
2456321
3534216
4341652
5162534
6215463
Magenta, P3Label Colour
R G B C M Y
First
Digit
of
Label
1231564
2563142
3342651
4416235
5625413
6154326
Yellow, P3Label Colour
R G B C M Y
First
Digit
of
Label
1152436
2315264
3263145
4624513
5546321
6431652

Key Position = 4

Red, P4Label Colour
R G B C M Y
First
Digit
of
Label
1532164
2314256
3465312
4241635
5623541
6156423
Green, P4Label Colour
R G B C M Y
First
Digit
of
Label
11 5 3 4 2 6
22 3 1 6 4 5
33 4 6 2 5 1
46 2 4 5 1 3
55 6 2 1 3 4
64 1 5 3 6 2
Blue, P4Label Colour
R G B C M Y
First
Digit
of
Label
12 6 5 3 4 1
24 5 3 1 6 2
35 1 4 6 2 3
41 3 2 4 5 6
53 4 6 2 1 5
66 2 1 5 3 4
Cyan, P4Label Colour
R G B C M Y
First
Digit
of
Label
13 4 1 6 5 2
21 6 2 5 3 4
36 2 3 1 4 5
44 5 6 3 2 1
52 1 5 4 6 3
65 3 4 2 1 6
Magenta, P4Label Colour
R G B C M Y
First
Digit
of
Label
14 1 6 2 3 5
26 2 5 4 1 3
32 3 1 5 6 4
45 6 3 1 4 2
51 5 4 3 2 6
63 4 2 6 5 1
Yellow, P4Label Colour
R G B C M Y
First
Digit
of
Label
16 2 4 5 1 3
25 4 6 3 2 1
31 5 2 4 3 6
43 1 5 2 6 4
54 3 1 6 5 2
62 6 3 1 4 5

Key Position = 5

Red, P5Label Colour
R G B C M Y
First
Digit
of
Label
16 2 3 5 4 1
24 6 5 3 1 2
33 1 4 2 5 6
41 5 6 4 2 3
52 4 1 6 3 5
65 3 2 1 6 4
Green, P5Label Colour
R G B C M Y
First
Digit
of
Label
15 6 2 1 3 4
23 4 6 2 5 1
32 3 1 6 4 5
44 1 5 3 6 2
56 2 4 5 1 3
61 5 3 4 2 6
Blue, P5Label Colour
R G B C M Y
First
Digit
of
Label
13 4 6 2 1 5
25 1 4 6 2 3
34 5 3 1 6 2
46 2 1 5 3 4
51 3 2 4 5 6
62 6 5 3 4 1
Cyan, P5Label Colour
R G B C M Y
First
Digit
of
Label
12 1 5 4 6 3
26 2 3 1 4 5
31 6 2 5 3 4
45 3 4 2 1 6
54 5 6 3 2 1
63 4 1 6 5 2
Magenta, P5Label Colour
R G B C M Y
First
Digit
of
Label
11 5 4 3 2 6
22 3 1 5 6 4
36 2 5 4 1 3
43 4 2 6 5 1
55 6 3 1 4 2
64 1 6 2 3 5
Yellow, P5Label Colour
R G B C M Y
First
Digit
of
Label
14 3 1 6 5 2
21 5 2 4 3 6
35 4 6 3 2 1
42 6 3 1 4 5
53 1 5 2 6 4
66 2 4 5 1 3

Key Position = 6

Red, P6Label Colour
R G B C M Y
First
Digit
of
Label
13 1 4 2 5 6
21 5 6 4 2 3
35 3 2 1 6 4
46 2 3 5 4 1
54 6 5 3 1 2
62 4 1 6 3 5
Green, P6Label Colour
R G B C M Y
First
Digit
of
Label
12 3 1 6 4 5
24 1 5 3 6 2
31 5 3 4 2 6
45 6 2 1 3 4
53 4 6 2 5 1
66 2 4 5 1 3
Blue, P6Label Colour
R G B C M Y
First
Digit
of
Label
14 5 3 1 6 2
26 2 1 5 3 4
32 6 5 3 4 1
43 4 6 2 1 5
55 1 4 6 2 3
61 3 2 4 5 6
Cyan, P6Label Colour
R G B C M Y
First
Digit
of
Label
11 6 2 5 3 4
25 3 4 2 1 6
33 4 1 6 5 2
42 1 5 4 6 3
56 2 3 1 4 5
64 5 6 3 2 1
Magenta, P6Label Colour
R G B C M Y
First
Digit
of
Label
16 2 5 4 1 3
23 4 2 6 5 1
34 1 6 2 3 5
41 5 4 3 2 6
52 3 1 5 6 4
65 6 3 1 4 2
Yellow, P6Label Colour
R G B C M Y
First
Digit
of
Label
15 4 6 3 2 1
22 6 3 1 4 5
36 2 4 5 1 3
44 3 1 6 5 2
51 5 2 4 3 6
63 1 5 2 6 4

Second key values

Apply the list of conditions on the labels of each key from left to right to obtain the second key values.

If a condition applies, but its second key value has been previously assigned, continue working down the list.

Ignore K: its second key value will be the one remaining value once the others have been assigned.

First Key Value will be abbreviated as FKV.

Label has 1 digitthe second key value is the...
(always apply)position of the key whose FKV is that digit.
Label is an even numberposition of the key whose FKV is the position of this key.
(always apply)value given by Grid A.
(always apply)lowest unassigned.
Label has 2 digitsthe second key value is the...
(always apply)position of the key whose FKV is the last digit.
Label contains no odd numbersposition of the key whose FKV is the position of this key.
Label contains both 1 and 6*position of the key whose FKV is the first digit of K.
Label contains two distinct even numbers*position of the key whose FKV is the last digit of K.
(always apply)value given by Grid B.
(always apply) lowest unassigned.

*If the rule is previously applied, skip the rule.

Label has more than 2 digitsthe second key value is the...
Label has three or more digits that only appears exactly once*FKV of K.
Sum of digits is greater than 15FKV of the key whose position is the last digit.
Label has less than 3 distinct digitsposition of the key whose FKV is the last digit.
Label contains no odd numbersposition of the key whose FKV is the position of this key.
Label contains both 1 and 6*position of the key whose FKV is the first digit of K.
Label contains at least two distinct even numbers*position of the key whose FKV is the last digit of K.
(always apply)value given by Grid B.
(always apply) lowest unassigned.

Grid A: label has only one digit

Label Colour
RGBCMY
Label1215346
2632154
3543621
4364215
5156342
6421563

Grid B: label has more than one digit

Label Colour
RGBCMY
Last
Digit
of
Label
1+LFP!#
2F#L!+P
3P!+F#L
4#+!LPF
5LP#+F!
6!FP#L+

F- The first digit of the label.

L- The last digit of the label.

#- The number of digits on the label.

+- One plus the sum of labelled digits modulo 6.

P- The position of the key.

!- The lowest digit that appear the most in the label.