Your current guess:
Choose a colour:
Guess history (newest first):
Crack the secret 4-colour code using logic and peg feedback. No memory needed — just deduction!
Your current guess:
Choose a colour:
Guess history (newest first):
The Code Breaker Puzzle is a Mastermind-style logic game where a secret 4-colour code is hidden and you must deduce it purely from feedback. Unlike memory games, nothing is ever shown to you directly — every clue comes from analysing the black and white pegs your previous guesses earned.
Start with a guess that uses several different colours to learn which ones appear in the code at all. Once you know which colours are involved, use later guesses to pin down exact positions by changing one slot at a time and watching how the black peg count changes. Professional Mastermind players can often solve any code within five guesses using this kind of structured strategy.
FunZon's Code Breaker Puzzle is free, fast-loading, and works great on both desktop and mobile. Your best score (fewest attempts to crack a code) is saved locally so you can track your improvement over time.
A black peg means one of your guessed colours is the exact right colour in the exact right position. A white peg means a guessed colour exists somewhere in the secret code, just in a different position. No peg means that colour isn't in the code at all.
You have 10 attempts to crack the 4-colour secret code. Each guess gives you new peg feedback to narrow down the possibilities.
Yes. The secret code is chosen from 6 colours and any colour can appear more than once across the 4 positions, so don't assume all four slots are different colours.
No — the Memory Sequence Puzzle tests recall by asking you to repeat a sequence you just watched. The Code Breaker Puzzle is pure deduction: you never see the code, only logical feedback (pegs) after each guess, and must reason your way to the answer.
Related: Logic Puzzle • Cryptogram Puzzle • All Puzzles