Code Breaker: Crack the Code

In this code breaker, a lock has a secret code and a list of clues. Only one code fits all of them. Find it, turn the wheels and press Open. You have three tries.

How to play

  1. Read the clues. Most of them are tried codes, with a note about the digits that are right.
  2. Use the notes under the lock. Touch a digit once to cross it out, twice to circle it.
  3. Turn the wheels with the arrows, by swiping or on the keyboard, and press Open.

Right place means that the digit is in the code, on this wheel. Wrong place means that it is in the code, but on another wheel.

A code breaker puzzle, step by step

Code breaker example with four tried codes, 326, 921, 742 and 148, and the solution 719
Four clues, one code: 7 1 9.
Tried codeAnswer
3 2 6Nothing is right
9 2 1Two digits are right, both in the wrong place
7 4 2One digit is right, in the right place
1 4 8One digit is right, in the wrong place
  1. Start with the clue that says nothing is right. 3, 2 and 6 are out.
  2. In 9 2 1, two digits are right. 2 is out, so they are 9 and 1.
  3. In 1 4 8, only one digit is right, and we know that 1 is. So 4 and 8 are out, and 1 is not on the first wheel.
  4. In 7 4 2, the digit in the right place can only be 7. It is on the first wheel.
  5. 1 is not on the last wheel (from 9 2 1), so it is in the middle. 9 takes the place that is left. The code is 7 1 9.

What to look for first

  • The clue with nothing right. It is the most useful line on the page.
  • Two clues that share a digit but have different answers.
  • A digit that was in the wrong place twice, on two different wheels. With three digits, its place is now known.
  • Clues about sums or about higher and lower digits. Keep them for the end, to choose between two codes.

When one clue is false

From level 15, exactly one clue on each lock is a lie. Do not look for the liar first. Assume that the first clue is false and try to fit all the others. If they contradict each other, the first clue is true after all. Go on to the next one. There are only a few clues on each lock, so this does not take long.

Crack a safe without clues

In this mode you make the clues yourself. Try any code, and the safe tells you how many digits are right and how many are in the right place. It is the idea of Bulls and Cows, an old pencil game, and of Mastermind.

SafePossible codesTries
3 digits7207
4 digits5,0408
5 digits30,24010

All the digits are different. A good second try uses new digits, even if the first answer was good. You want to know which digits are in the code before you worry about their order.

Make a lock for a friend

Choose a code of 3 to 6 digits, write a message and copy the link. The page can write the clues for you, or you write your own: how many cats we have, the month you were born in, the number on our door. Your friend reads the message when the lock opens. Teachers and parents can use it for a treasure hunt, with one lock at each stop. The code and the message are inside the link, so do not use a real password.

Questions and answers

How do you solve a crack the code puzzle?

Cross out the digits of the clue where nothing is right. Then find the digits that must be in the code, and place them last.

Is there always only one answer?

Yes. Each lock in the levels and the lock of the day are checked, so that one code fits and no other.

Can a digit come twice?

Only in a few levels, and the level tells you so. Everywhere else the digits are different.

What happens after three wrong tries?

The lock stays closed and you see the code with the reasons. You can play the level again with a new lock.

Can I use it for an escape room?

Yes. Make a lock with your own clues and open the link on a phone or tablet in the room. A lock you make has no limit of tries.

More games to try

All number games and puzzles