Code Breaker · Code Breaking Logic Game
Code Breaker is a deduction puzzle: guess a hidden code of coloured pegs and read the clue pins after each try to narrow it down. Codes start with 4 pegs and 6 colours, then allow repeats and grow to 5 pegs and 7 colours.
How to play Code Breaker
- Tap colours to fill the row, then press Check.
- Solid pins = right colour in the right slot, hollow pins = right colour in the wrong slot.
- Crack the code before you run out of rows — each failed code costs one of 3 lives.
Controls
Tap colours, tap a slot to clear — or 1–7, Backspace, Enter.
Tips & tricks
- Use your first guesses to find out which colours are in the code.
- Never repeat a guess that contradicts an earlier clue.
Code Breaker strategy guide
How a solved code is scored
There is no timer, so speed of thought does not matter here; economy of guesses does. A cracked code pays 10 points for every row you did not need (counting the winning row as one unused), plus 15 times the current code number, plus a 40-point bonus if you got there in three guesses or fewer. Solving the first code on your fifth row of ten earns 75; solving it on the third earns 135. The Codebreaker trophy at 400 points usually takes four or five codes, so steady solving matters more than lucky openings.
A code you fail to crack costs one of three lives, and the next code stays at the same difficulty.
Stages of difficulty
The first two codes use four pegs drawn from six colours with no repeats, and you get ten rows. From the third code colours may repeat, which changes the logic considerably, and you drop to nine rows. From the fifth code there are five pegs and seven colours, with ten rows again for a while, then nine from the eighth code and only eight from the eleventh. A short message at the top of each new code reminds you whether repeats are allowed.
A method that works
In the no-repeat stage, a solid opening is to guess four different colours, then swap in the two colours you left out. Between the two clue sets you know exactly how many of each group are in the code. After that, focus on positions: move one peg at a time and watch whether the solid count rises or falls.
Once repeats are allowed, a total of zero pins is gold, because it rules out every colour in that guess at once. Single-colour guesses such as four of the same peg are a legitimate way to count how many times a colour appears, though they spend rows. Whichever method you use, before pressing Check, ask whether your guess could actually be the answer given every clue so far. A guess that contradicts earlier pins can still teach you something, but it can never win.
Small errors to avoid
Hollow pins do not tell you which pegs are misplaced, only how many. A common slip is to assume the first peg is the wrong one. Tap a filled slot to clear just that peg instead of deleting the whole row, and on a keyboard type colours with the number keys 1 to 7.
Code Breaker FAQ
How many guesses do I get in Code Breaker?
Ten rows for the first two codes, nine for codes three and four, ten again when five-peg codes arrive, then nine from code eight and eight from code eleven.
When can colours repeat in Code Breaker?
From the third code onward. The first two codes always use four different colours.
Is there a bonus for solving quickly in Code Breaker?
Yes. Cracking a code in three guesses or fewer adds 40 points on top of the usual reward for unused rows.
Code Breaker is free to play online in your browser on phone, tablet and computer — no download, no sign-up. Your best score and trophies are saved automatically.