Play-ReadyFree games that work offline

Kids mode is on. This game is not one of the Kids games, so it is hidden here. Go back to the Kids games

Code Breaker

Logic puzzles. Free. No pop-up or banner ads, no tracking cookies. Works offline.

1 player ยท Under 5 min ยท Ages 8+ (suggested)

The classic: crack a 4-colour code from 6 colours.

Play Code Breaker now

6 versions

Each version keeps its own best score on your device.

  • Code Breaker 4 pegs, 6 coloursThe classic: crack a 4-colour code from 6 colours.
    Play
  • Code Breaker 4 pegs, 8 coloursCrack a 4-colour code from 8 colours.
    Play
  • Code Breaker 5 pegs, 8 coloursCrack a 5-colour code from 8 colours.
    Play
  • Code Breaker 6 pegs, 9 coloursA long 6-colour code from 9 colours.
    Play
  • Code Breaker NumbersCrack a 4-digit code using digits 1 to 9.
    Play
  • Code Breaker RepeatsA 4-colour code where colours can repeat.
    Play

How to play Code Breaker

Goal

Crack the secret code in as few guesses as possible.

How to play

  1. The computer picks a secret code of coloured pegs (or digits).
  2. Make a guess, then tap Check.
  3. A black dot means a right colour in the right place; a white dot means a right colour in the wrong place.
  4. Use the clues to narrow down the code.

How it ends

You win when you get all black dots. Run out of tries and the code is shown. Your score is the number of guesses, and lower is better.

Controls

Phone: tap a colour to fill the next slot; tap a slot to clear it; tap Check. Keys: 1 to 9 pick colours, Enter checks, Backspace clears.

What changes in each version

4 pegs from 6 colours (the classic) or 8 colours, 5 pegs from 8, 6 pegs from 9, a 4-digit number code, and a version where colours can repeat. Only the Repeats version allows a colour twice.

Tips

  • Change one thing at a time between guesses.
  • White dots tell you which colours to keep.

Play-Ready differences

Coloured pegs with black and white dots instead of numbers with bulls and cows (one version uses digits).

Rules checked against Wikipedia: Bulls and cows (October 2026). All sources and credits

On these lists

More logic puzzles

Similar games

All logic puzzles