Code Crack: keep a list of codes that still fit, split it as evenly as you can, and how to read a liar row
Guess the hidden colour code. Gold pegs mean right colour in the right spot, white pegs right colour in the wrong spot. In liar levels one peg of a row may be false until your next guess breaks the seal. We solved all 30 levels with our own method: keep every code that still fits the trusted rows, and guess the code that splits those candidates into the smallest groups. Our first version lost level 11, the first liar level, and we had to change how sealed rows are used.
Narrowing down
After each row, only codes that would have given exactly those pegs are still possible. On level 3 that went 24, 9, 3, 1 candidates.
The best next guess is not always a possible answer: it is the one whose possible peg results split the candidates most evenly. On 4-peg, 6-colour levels the first row usually cut 360 codes to 72 to 95.
Level 14 allows repeats (1,296 codes) and our second row already had only 4 left.
Liar rows
In liar levels a fresh row is sealed (?) until your next guess. Then the seal breaks: a lie cracks open in red (LIE!) and the true pegs drop in; an honest row gets a check mark.
A lie moves exactly one peg: gold shown as white, white shown as gold, or one white added or removed. A row with all pegs gold never lies.
Our first version ignored the sealed row until it broke, so every second guess was made blind; on level 11 the candidates went 120, 120, 8, 8, 4, 4… and the ten rows ran out (Out of guesses!).
The fix: count the sealed row too, but accept any code that fits its pegs or a one-peg change of them. Levels 11 to 30 then all fell, mostly within par.
Level 12: two honest rows checked, the newest row still sealed.
30 levels, only level 12 over par
Cracking a code at or under par is three stars, within par + 2 two. Only level 12 went over par (7 guesses for a par of 6). Hints reveal one spot and cap the level at two stars; we used none.
Levels
Colours x pegs
Repeats
Liar
Rows
Par
Our guesses
1 to 3
4 x 3
no
no
7 to 8
4
2 to 4
4 to 7
5 x 4
no
no
8 to 9
5
4 to 5
8 to 10
6 x 4
no
no
8 to 9
5
3 to 5
11 to 13
5 x 4
no
yes
10
6
5 to 7
14 to 16
6 x 4
yes
no
10 to 11
6
2 to 5
17 to 19
6 x 4
no
yes
10 to 11
6
4 to 5
20 to 23
7 x 4, 6 x 5
no
no
9 to 10
5 to 6
3 to 6
24 to 30
7 x 4, 6 x 4, 7 x 5
some
most
10 to 12
6 to 7
4 to 5
Level 11 with our first version: Out of guesses!
Controls
Tap colours to fill the row, tap a slot to clear it, CHECK to submit.
Type colours with 1 to 7, fix a slip with Backspace, submit with Enter and ask for a hint with H. A full guess that contradicts a trusted row is flagged before you submit (Doesn't fit row).
Level 30: MASTER CRACK!, 4 of 10 rows.
Questions
The pegs of my last row seem impossible. Why?
In a liar level the newest row may lie by one peg. Wait for the seal to break on your next guess; the true pegs drop in then.
Should I only guess codes that could be right?
Not always. A guess that splits the remaining codes evenly can save a row, even if it cannot be the answer.