Skip to content

Strategy board games in Parlour

Codebreaker: crack the colour code, free on iPhone, iPad and Android

One player hides a code of four coloured pegs. The other has ten guesses to find it, guided only by clues about which colours are right and which are in the right place. Codebreaker is the classic code-cracking logic game, and every guess is a small experiment.

Crack the computer's codes, set a code and watch the computer reason its way to it, or play a friend on one device.

Download on the App StoreGet it on Google Play

Free on iPhone, iPad and Android. No pop-up ads mid-game. No account needed.

Parlour's Codebreaker: rows of coloured, shaped pegs and clue markers
Players
1 or 2 players
Ways to play
Against the computer, solo, pass and play on one device
Where
iPhone, iPad and Android

How to play Codebreaker

The code

The setter chooses a secret code of four pegs from six colours. In Parlour every colour also has its own shape, so pegs never look alike. By default colours may repeat in a code; you can switch repeats off for an easier game.

Guessing

The codebreaker builds a row of four pegs and submits it as a guess. There are ten guesses in all.

Reading the clues

After each guess the setter gives feedback, one marker per peg that scores:

  • A filled dot means one of your pegs is the right colour in the right place.
  • A ring means one of your pegs is the right colour but in the wrong place.
  • No marker means a colour isn't in the code (or not as many times as you used it).

The clues don't say which peg they refer to. Working that out is the game.

Winning

Crack the code (four filled dots) within ten guesses and the codebreaker wins. If the tenth guess still misses, the setter wins and the code is revealed. Play a pair of games, swapping roles, to see who cracks faster.

Tips

  • Open with pairs. A first guess like two of one colour and two of another tests two colours at once and tells you about positions as well.
  • Keep what's confirmed. Once a peg seems fixed, leave it in place and change the others, so each new clue tells you about fewer pegs.
  • Every guess should be possible. Strong players only guess codes that fit all the clues so far. If a guess can't be the answer, ask what it will teach you.
  • Use rings to move pegs. A ring means the colour belongs somewhere else. Try it in a new position next time.
  • Count totals. Add filled dots and rings to know how many of your colours are in the code at all, before worrying about where.
  • Write it down in your head. Go back over every earlier row before guessing. Most wasted guesses ignore a clue from three rows ago.

What's special in Parlour

  • Choose your role: crack the computer's code, or set a code and watch the computer crack it.
  • A computer at four levels, from Easy to Expert. At the top level it guesses with a full minimax search over every possible code; lower levels forget older clues the way people do, never guessing at random.
  • Repeated colours allowed or not, and colour-blind-safe pegs with a shape for every colour.
  • Play a friend on one device, one setting and one breaking, with the screen covered while the code is set. A guided first game shows how to read the clues.
  • Gems you earn by playing pay for hints and for new looks for your board. Gems never help in a game against another person.

Common questions

How many guesses do you get in Codebreaker?
Ten. The code is four pegs from six colours, and each guess gets dots for right colour and place, and rings for right colour, wrong place.
Can I set the code for the computer to guess?
Yes. Choose Code setter as your role in the game's setup, and the computer tries to crack your code using the same clues.
Is Codebreaker good for colour-blind players?
Every colour in Parlour's Codebreaker also has its own shape, so you can tell the pegs apart without relying on colour.
Is Codebreaker free?
Yes. Parlour is free to download, with no pop-up ads mid-game. Ads show between games, and a one-time purchase removes them.
Is Codebreaker on Android?
Yes. Codebreaker is in Parlour on Google Play as well as the App Store: crack the computer's code or set one for it to crack, at four levels from Easy to Expert.