Works on Windows, Mac, Linux, iPhone, iPad and Android, nothing to install.
What is Codebreaker?
Codebreaker is a logic game where you crack a hidden code in as few guesses as possible. The computer picks a secret sequence of colours or symbols. You make a guess, and it gives you clues: how many of your pieces are exactly right, and how many are the right colour but in the wrong place. Using those clues, you narrow down the possibilities until you crack the code.
It's inspired by the classic code-breaking board games that have challenged players since the 1970s, now playable instantly in your browser.
Every game is different because the code is chosen at random each time, so there is no single answer to memorise. Success comes from how well you use the clues, which is what makes it so replayable.
Why play it?
Codebreaker is a brilliant mix of luck and deduction. Your first guess is a shot in the dark, but every clue that follows narrows the field, and the fun comes from reasoning your way from total uncertainty to the exact answer. That aha moment when the final guess lands perfectly is deeply satisfying.
It quietly trains valuable thinking skills. To play well, you have to hold several clues in mind at once, test ideas systematically, eliminate possibilities and avoid repeating information you already have. These are the same skills used in maths, programming, science and problem-solving of all kinds.
It's also wonderfully quick. A round takes a few minutes, which makes it perfect for short breaks, and there's always the pull of one more game to beat your best score. It's easy enough for children to learn and deep enough for adults to keep improving their strategy.
Codebreaker is also a gentle introduction to how computer scientists think about search problems: making each guess earn as much information as possible. Players who enjoy it often find they start applying the same careful, step-by-step thinking elsewhere.
How to play
- Start a new game. A secret code is chosen at random.
- Make your first guess by choosing a colour or symbol for each position.
- Submit the guess and read the feedback: exact matches (right colour, right place) and partial matches (right colour, wrong place).
- Use the clues to make a smarter next guess.
- Keep going until you crack the code, or run out of guesses.
Some strategies to try:
- Use your first couple of guesses to find out which colours are in the code at all.
- Change only one or two things between guesses, so you can tell exactly which change made the difference.
- Before each guess, check it fits every clue you've had so far. A guess that contradicts earlier feedback can't be right.
When to play
Play Codebreaker:
- During a short break, when you want a quick, satisfying challenge.
- As a daily logic workout to keep your thinking sharp.
- With children, to practise reasoning and patience in a fun way.
- In classrooms, as a starter activity for logic, maths or computing.
- When you've finished a Sudoku and want something different.
It's a favourite with puzzle fans, students and anyone who loves a good mystery. Try challenging friends or family to see who can crack the code in the fewest guesses.