Code Breaker
Crack the secret colour code from the black and white pegs.
Loading game…
How to play
- A secret code of colours is hidden. Guess it in ten tries.
- After each guess: a black peg for every colour in the right place.
- A white peg for every colour that's in the code but in another place.
- The pegs don't say which slots they refer to.
- Use the feedback to rule codes out; each guess should test something new.
About Code Breaker
Play Code Breaker (the colour code guessing game) free online: four or five pegs, six or eight colours, a hint that reasons like a solver, and a daily code for everyone.
Code Breaker: common questions
- What do the black and white pegs mean?
- A black peg: one of your colours is in the right slot. A white peg: one of your colours is in the code, but in a different slot. The pegs are not in slot order.
- How are repeated colours counted?
- Each colour in the code is matched to at most one in your guess. If the code has one red and you guessed two, only one of them gets a peg.
- What's the best first guess in Code Breaker?
- Two pairs, like red red blue blue, when repeats are allowed; four different colours otherwise. Both leave few possibilities whatever the pegs say. With perfect play any 4-slot, 6-colour code falls in five guesses.
Related games
- Traffic Jam1 playerSlide the cars and lorries out of the way so the red car can leave.Puzzle GamesPlay