Code Breaker

Crack the hidden colour code

You're playing as a guest. Log in, to save scores, earn XP and get on the leaderboard.

About Code Breaker

Code Breaker is a classic deduction game where you play the code cracker. The computer hides a code of four colours chosen from six โ€” colours can repeat. Your job is to guess it in as few attempts as possible. You get eight per code.

After each guess you get clues in the form of little dots. A filled white dot means one of your colours is right and in the right place. A hollow dot means a colour is in the code but somewhere else. The clues don't say which colour they refer to โ€” that's exactly what you have to work out by comparing guesses.

A good strategy starts with the first guesses. Many players begin with two pairs of colours, say two red and two blue, then test the next pairs. Once you know which colours are in the code, all that's left is their order โ€” every clue rules out lots of possibilities. The best players crack a code in four or five guesses.

The game is played against the clock: you have three minutes for as many codes as you can crack. A cracked code is worth more the fewer guesses you needed โ€” from 80 points for a first-time hit down to 10 for the final, eighth guess. Every colour also has its own symbol, so colour-blind players can enjoy Code Breaker too.

Code Breaker runs in your browser on phones, tablets and computers, with nothing to install. On a computer you pick colours with keys 1โ€“6 and Enter checks your guess. It's great logical thinking practice. Sign in and your scores go to the daily, weekly and all-time leaderboards.

How to play

  1. Press โ€œPlayโ€. The computer has hidden a code of 4 colours (they can repeat).
  2. Build a guess by tapping colours and press โ€œCheckโ€.
  3. Filled dot: right colour, right place. Hollow dot: right colour, wrong place.
  4. You get 8 guesses per code. A cracked code: 10ยท(9 โˆ’ guesses) pts.
  5. You have 3 minutes for as many codes as possible.

Controls

โŒจ๏ธ Desktop
Keys 1โ€“6 pick colours, Backspace undoes, Enter checks. You can also click.
๐Ÿ“ฑ Phone and tablet
Tap colours, then โ€œCheckโ€. โ€œUndoโ€ removes the last colour.

๐Ÿ’ก Tips

  • Start with two pairs of colours โ€” you'll quickly learn which are in the code.
  • Change one thing at a time so you know what a clue refers to.
  • Remember that colours can repeat.
  • If the dots add up to 4, you know all the colours โ€” only the order is left.

Code Breaker FAQ

Is Code Breaker free?

Yes. The game is free and runs in the browser on phones and computers, with no download.

Can colours repeat in the code?

Yes. The code has 4 slots and each can be any of the 6 colours, including the same as others.

What do the dots mean?

Filled: right colour in the right place. Hollow: right colour in the wrong place. The order of the dots doesn't reveal which slot they refer to.

How many guesses do I get?

Eight per code. After eight failed guesses the game reveals the code and deals a new one.