Code Breaker

Crack the hidden colour code using logic and feedback.

About Code Breaker

Code Breaker is a Mastermind-style deduction game. A secret code of colours is hidden and you have a limited number of guesses. After each guess you learn how many colours are in the right place and how many are right but misplaced. Use that feedback to narrow down the answer.

How to play

  1. Tap colours to fill the four slots of your guess, then press Check.
  2. A gold peg means a colour is correct and in the right slot. A grey peg means the colour is in the code but in a different slot.
  3. Crack the code before you run out of guesses.

Tips and strategy

Levels, stars and XP

Finish a level to earn one to three stars and XP towards your player level. Replay any unlocked level to improve your stars. From level 151 the game enters endless mode, where each level is a remix of an earlier one with fresh colours and a slightly higher difficulty.

Frequently asked questions

How do I play Code Breaker?
Tap colours to fill the four slots of your guess, then press Check. A gold peg means a colour is correct and in the right slot. A grey peg means the colour is in the code but in a different slot. Crack the code before you run out of guesses.
What is a good strategy for Code Breaker?
Open with two colours twice, such as 1 1 2 2, to learn quickly.
How many levels does Code Breaker have?
Code Breaker has 150 levels that rise gradually in difficulty. After level 150 the game continues without end: levels are drawn from the first 150 in a newly shuffled order, with new colours, flipped or rotated layouts and a small difficulty boost, so the level number keeps increasing.
Is it free to play?
Yes. Code Breaker is completely free and runs in your browser on phones, tablets and computers. No download or account is needed.
Does my progress save?
Your level, stars and XP are saved in your browser on this device. Clearing your site data will reset them.

More games to try