Puzzle

Code Breaker

Crack a four-colour code in a few guesses, with feedback after every try.

1P 3 min
Playable now
Open in new tab

If the game does not load, open it directly.

How to play Code Breaker

A secret four-colour code is chosen at the start of the round.

Build a guess from the four colour buttons and press the submit control.

Read the feedback, narrow the possibilities, and crack the code before you run out of guesses.

Tips for a better run

  • Start with four different colours so every peg gives you new information.
  • Use black pegs to lock positions, then use white pegs to place the remaining colours.
  • If two guesses share a colour, change only that colour to learn more from the next feedback.

Good for

A quiet deduction break for one player, with no timer and no reading beyond the pegs.

Controls

  • Pick four colours, then submit a guess.
  • Black pegs mean a colour is correct and in the right place.
  • White pegs mean a colour is correct but in the wrong place.

Code Breaker FAQ

How long is a round of Code Breaker?

About 3 minutes. A quiet deduction break for one player, with no timer and no reading beyond the pegs.

Can I play Code Breaker with someone else?

It is a single-player game. Hand the phone over between rounds if someone else wants a turn.

Does Code Breaker work offline?

It needs a network connection the first time. Open it once and keep the tab available if you are about to lose signal.

Is Code Breaker free?

Yes. There is no account, install, or payment. High scores and progress stay in this browser.

Credits

Based on Mastermind by Chogan; renamed Code Breaker

Licence: MIT. Game rules and the licence record live on the licences page.

More Puzzle games

puzzle
Playable

Minesweeper

Clear every safe square on a small minefield. A quick logic puzzle with a one-thumb flag mode.

1P 5 min
minesweeperlogicclassicshort-session
puzzle
Playable

Lights Out

Flip lights and their neighbours until the whole board goes dark.

1P 2 min Offline
puzzlelogicgridshort-session
puzzle
Playable

Memory Match

Flip cards, remember the pairs, and clear a small board in two or three minutes.

1P 3 min
memorymatchingclassicshort-session