Code Breaker

About Code Breaker

Code Breaker is a classic logic puzzle. The computer hides a secret code of coloured pegs and you have ten guesses to work it out. After each guess you get feedback: a filled dot for every peg that is the right colour in the right spot, and a hollow ring for every peg that is the right colour but in the wrong spot. Use the clues to narrow down the possibilities until the code is cracked.

Pick your challenge. Easy uses four pegs and six colours with no repeats, Normal allows repeated colours, and Hard raises the stakes to five pegs and eight colours. Your fewest guesses for each mode are saved, and the hidden code is revealed at the end of every game.

Every colour also carries its own symbol and number, so the game is friendly for colour-blind players. It runs instantly in the browser on phones, tablets and computers — tap or drag colours with touch or a mouse, or use the number keys, Backspace and Enter on a keyboard.

How to play

  • Tap a colour to drop it into the highlighted slot, or drag it onto any slot.
  • Tap a slot to select it; tap it again to clear it.
  • Press Check to submit: ● = right colour, right spot; ○ = right colour, wrong spot.
  • Crack the code within ten guesses.
  • Keyboard: 1–8 pick colours, ← → move between slots, Backspace clears, Enter checks.
  • Choose Easy, Normal or Hard above the board.