Crack the Code for beginners is a recreational three-digit logic puzzle: use two exact and wrong-place clues to find one unique code, then enter it in three slots.
Here, “crack” means deduce a number, not bypass software security or learn programming. The task is to read the two clue rows carefully, test a three-digit candidate, and avoid spending an error on an accidental incomplete submission. The game is deterministic, runs in your browser, and uses one fixed puzzle rather than a rotating challenge feed.

What each clue counts
Every clue describes a three-digit guess. An exact match means the guessed digit belongs in the same position in the solution. A wrong-place match means the digit is in the code but at another position. These are separate counts: one does not replace or cancel the other.
| Clue row | Exact matches | Wrong-place matches |
|---|---|---|
| 527 | 2 | 0 |
| 750 | 0 | 3 |
The 527 row says that two of its digits are correct and in the right positions, while its third digit does not appear in the code. The 750 row says that all three of its digits appear, but every one is displaced from the position shown in that guess.
Do not add the two counts together and treat the result as a count of distinct digits. The scorer removes every exact pair first, then compares the frequencies of the remaining digits. A single unmatched solution position can support only one wrong-place match, so repeated digits cannot inflate the result.
How to solve the three-digit code
Use the two rows together rather than trying random combinations. The fixed puzzle provides enough information for a complete deduction:
- Open Crack the Code. The game presents two clue rows, three input slots, and a ten-digit keypad. You can use the on-screen buttons, physical number keys, or a combination of both.
- Interpret 527. Its result is 2 exact and 0 wrong place. The row alone does not identify which two positions are exact, so combine it with the 750 clue before assigning positions.
- Interpret 750. Its result is 0 exact and 3 wrong place. All three digits—7, 5, and 0—are in the code. However, 7 is not in the first position, 5 is not in the second, and 0 is not in the third.
- Combine the positional restrictions. Combined with the 750 clue, the 527 row fixes 5 in the first slot and 7 in the third slot.
- Fill the remaining position. Since 750 confirms that 0 is present but not in the third position, and the first and third slots are already 5 and 7, the middle slot must be 0. The resulting candidate is 507.
- Submit 507. Enter 5, 0, and 7 from left to right, then submit the complete code. A correct submission earns exactly 1,000 points and ends the run.
Why 507 is the only possible code
Finding a code that fits is not, by itself, proof that the answer is unique. The game’s exhaustive check addresses that distinction by treating every integer from 0 through 999 as a three-digit candidate. Leading zeroes are included, so the tested range is 000 through 999 rather than only 100 through 999.
For each candidate, the proof first removes exact position pairs. It then compares the remaining digit frequencies and keeps only candidates that also produce the required wrong-place counts. After checking all 1,000 candidates, exactly one remains: 507.
The release test also uses a separate literal clue table and independent candidate traversal rather than treating the production scorer as its own proof. That separation checks the result against an independently produced one-candidate set. For a closer explanation of the duplicate-counting rule, see how repeated digits are counted in a digit deduction game.
Entering guesses without accidental penalties
The input rules distinguish editing a guess from submitting one. That makes it possible to correct a typo or an early Enter without losing part of the limited error allowance.
| Input or action | What happens | Attempt effect |
|---|---|---|
| Digit button or physical number key | Appends the digit from left to right until all three slots are filled. | No attempt is spent merely entering digits. |
| Backspace or Delete | Removes the final entered digit. | No attempt is spent. |
| Clear guess | Empties only the current input while leaving the run itself intact. | No attempt is spent. |
| Submit with fewer than three digits | Reports how many positions remain to be filled. | Incomplete input is penalty-free. |
| Submit a complete code | Evaluates that three-digit candidate once. | A distinct wrong code uses an error; the correct code completes the puzzle. |
| Submit the same wrong code again | Returns the same state without duplicating the guess history. | It does not consume the second error or change the score or feedback. |
| Reset run or Restart | Restores the entire clean state, including attempt history and terminal status. | Starts a fresh run. |
The important limit is the distinction between a repeated guess and a new one. After the first distinct wrong complete code, you can clear or edit the input and try another candidate. Submitting that identical wrong code again is merely a no-op, so rapid double-clicks or repeated Enter presses do not consume the next error.
A second distinct wrong complete code deadlocks the run. The game then discloses the unique answer and freezes digit, deletion, clearing, and submission actions. You must use Reset run or the shared Restart control to begin again. Completion is also terminal: after the correct code, the score, code, attempt history, and feedback remain frozen.
What the 1,000-point result means
A correct solution earns exactly 1,000 points. A clean solve and a solve after one distinct wrong guess receive the same award. There is no speed bonus, clue multiplier, partial credit, or penalty based on which incorrect candidate was tried first.
The fixed score is entertainment behavior rather than a standardized measure of reasoning, intelligence, education, hiring suitability, health, or psychological ability. Because the puzzle has one original fixture and its solution and exhaustive proof are disclosed in the methodology, repeated play becomes much easier after the first solve.
Everything runs locally in the browser. No code guess, clue interaction, score, or keyboard event is uploaded, and no account or paid service is required. The complete finite puzzle also remains available offline after the page has loaded.
Details beginners often misread
- A wrong-place digit is still a correct digit. The clue means that it belongs in the code at a different position, not that it should be discarded.
- Exact and wrong-place counts are independent. Read the two labeled numbers for each clue row rather than trying to combine them into one total.
- One code position cannot support two matches. Exact pairs are removed first, and only remaining frequencies determine wrong-place matches.
- Pressing Enter early does not cost an attempt. The game tells you how many positions remain, allowing you to finish the code safely.
- Submitting the same wrong code twice differs from trying a second wrong code. The repeated submission is harmless, but a second distinct wrong code ends the active run until you reset it.
If you're weighing options, Crossword Puzzle for Adults: Rules and First Solve covers this in detail.