Skip to content
NexoraPlay
Code Breaker

Code Breaker

Crack the hidden colour code from the clue pegs.

Embed

Paste this code into your page or blog. The game plays right there, free, with no sign-up — and your visitors can find more games at Nexora Play.

Embedded games keep best scores on the player's device. Saved progress, accounts and leaderboards need the full page on Nexora Play.

Report

What kind of report?

Don't include your name, email, phone number or other personal details. We remove emails and phone numbers automatically. Privacy policy

Play more

Picked for you: switch lists to find your next game

About Code Breaker

Also called bulls and cows, cows and bulls, colour code game, code cracking game, peg code puzzle.

Code Breaker is a colour code guessing game, free in your browser: work out the hidden code of coloured pegs in as few rows as you can. After each guess, gold clue pegs count the right colours in the right places and silver ones the right colours in the wrong places, so every row narrows it down. The Vault is a path of 36 fixed locks that unlock one by one, from 3 pegs and 4 colours up to 6 pegs and 8 colours with repeats in 10 rows. Crack a lock in few rows for three stars. Today's lock is a daily puzzle that is the same for everyone. Gold clues are solid pegs and silver ones hollow rings, so they read without colour, and a combination dial spins with every check. A hint fills in a guess that fits every clue so far, undo takes back a step, and a cool late-night jazz tune plays along. It is a classic deduction puzzle, close to the old pencil game bulls and cows.

How to play

Fill a row by clicking colours in the tray or pressing keys 1 to 8, then press CHECK (or Enter). Gold clue peg: right colour, right place. Silver: right colour, wrong place. Crack the code before the rows run out. Backspace removes the last peg. On the menu, D plays Today's lock. H gives a hint, U or Z undoes, R restarts, P or Esc pauses.

Controls
ActionKeyboardTouch
Add a colourClick the tray1–8Tap a colour
Remove the last pegBackspaceDelete—
Check the rowEnterSpaceCHECK button
Pick a level on the menuArrowsEnterTap a level
Today's lock (daily)DTODAY'S LOCK button
HintHHINT button
UndoUZUNDO button
Restart the levelRRESTART button
PausePEsc—

Tips for Code Breaker

  • On locks that allow repeats, open with a row like 1-1-2-2 to learn a lot from the first check.
  • Zero clues is great news: every colour in that row is out of the code.
  • Change one or two pegs at a time between rows so you can tell which change made the clue move.
  • Before each check, make sure your guess fits every clue so far; a guess that cannot be right wastes a row.
  • Some locks allow repeated colours and some never do; the game refuses a repeat where it is not allowed.
  • Stars count rows. Use about six in ten of the rows for three stars, so plan before you check.

Questions about Code Breaker

How do the levels and stars work?

The Vault has 36 fixed locks that unlock in order, from 3 pegs with 4 colours in 8 rows to 6 pegs with 8 colours and repeats in 10 rows. Crack a lock within 60% of its rows for three stars, within 85% for two, or any crack for one.

What do the gold and silver clue pegs mean?

Each gold peg means one peg of your guess is the right colour in the right place. Each silver peg means one is the right colour but in the wrong place. The clues do not say which pegs they refer to; that is the puzzle.

Is this like bulls and cows?

Yes. Bulls and cows is the old pencil-and-paper version played with digits, where a bull is a right digit in the right place and a cow a right digit in the wrong place. Code Breaker uses colours, with gold and silver clues instead.

Is there a daily code puzzle?

Yes. Today's lock is the same for every player on the same day. Press D on the menu or tap TODAY'S LOCK.

Can I play with the keyboard?

Yes. Keys 1 to 8 add colours, Backspace removes the last peg and Enter or Space checks the row. H hints, U or Z undoes, R restarts and P or Esc pauses. Each check and its clues are announced for screen readers.

Is Code Breaker free?

Yes. Code Breaker is free to play on Nexora Play, with no download and no sign-up needed.

Can I play Code Breaker on my phone?

Yes. It runs in the browser on computers, tablets and phones, with touch controls on phones and tablets. You can also add Nexora Play to your home screen like an app.

Do I need an account?

No. You can play as a guest and your best scores are kept in this browser. A free account (13+) keeps your progress across devices.

More puzzle games