Logic game · free online

Code Breaker

Crack the hidden colour code with clues, deduction and as few guesses as possible.

No download · No sign-up · Works on phone & desktop

About Code Breaker

Code Breaker is a free online deduction game. A secret row of coloured pegs is hidden at the top of the board. Make a guess and you get a clue: a filled dot for each peg that is the right colour in the right spot, and a ring for each right colour in the wrong spot.

The clues never say which pegs they mean, so you have to reason it out. A live counter shows how many codes still fit every clue. From level 10 colours can repeat, and later levels use up to 8 colours.

How to play Code Breaker

  1. Crack the code

    A secret row of coloured, numbered pegs is hidden at the top. Find it within your attempts.

  2. Make a guess

    Tap colours (or press their numbers) to fill the spots, then press Check. Tap a spot to change it.

  3. Read the clues

    A filled dot means one peg is the right colour in the right spot. A ring means right colour, wrong spot. The clue doesn’t say which pegs.

  4. Deduce

    “Possible codes” counts the codes that still fit every clue. Guesses that fit all clues build your combo. A guess an earlier clue already ruled out is marked red.

  5. Attempts

    Run out of attempts and you lose a 💧 but get 3 more. Fewer lost 💧 means more stars.

  6. Repeats

    From level 10 a colour can appear more than once in the code.

  7. Hints and undo

    A hint reveals one spot of the code. Undo refunds the attempt for a guess that couldn’t have been the code. Its clue still counts.

Controls: Tap colours to fill the spots, then Check. Keyboard: number keys place a colour, arrows pick a spot, Backspace clears, Enter checks.

Tips & strategy

  • Make every guess consistent with all the clues so far. Guesses that can’t be the code waste attempts.
  • Watch the “possible codes” counter. A good guess cuts it sharply.
  • Early on, use several different colours in one guess to find out which colours are in the code.
  • From level 10 colours can repeat, so don’t rule out a colour just because it’s already placed.

Features

  • Free, no sign-up

    Play instantly in your browser. No download, no account, no ads.

  • Phone & desktop

    Touch, mouse and keyboard controls. Install it as an app and play offline.

  • Daily challenge

    Three games, one level each, picked fresh every day for everyone. Keep your streak alive.

  • Progress saved

    Levels, stars and achievements are saved automatically on your device.

  • Hints & undo

    3 hints and 2 undos per level, so you’re never stuck for long.

  • 7 achievements

    Stars for every level and badges to unlock as you improve.

Achievements to unlock

  • Codebreaker — Crack your first code.
  • Sharp mind — Crack a code without losing a life.
  • Mastermind of logic — Crack 10 codes without losing a life.
  • Airtight — Make 8 guesses in a row that fit every clue.
  • Double trouble — Reach the codes with repeated colours (level 10).
  • Vault cracker — Reach 8-colour codes (level 23).
  • Regular — Finish the daily challenge 3 days in a row.

Code Breaker FAQ

How do the clues work?

A filled dot means one peg is the right colour in the right spot. A ring means one peg is the right colour in the wrong spot. The clue doesn’t say which pegs.

What happens if I run out of attempts?

You lose a life and get three more attempts. Fewer lost lives means more stars.

Can colours repeat in the code?

From level 10 onwards, yes. A colour can appear more than once in the secret code.

What does “possible codes” mean?

It counts how many secret codes still fit every clue you have seen so far. A good guess cuts that number sharply. A guess that an earlier clue already ruled out is marked red.

More free puzzle games