Code Breaker online.
Crack a four-digit code using exact-position and misplaced-digit feedback. Play free in your browser without an account. Your progress stays on this device and browser.
- Players
- 1 player
- How you play
- Play on your own
- Where it saves
- Progress stays in this browser
Preparing your puzzle…
Four digits. One good deduction.
No timer · No account · Progress stays in this browser
How to play Code Breaker
- Enter four different digits from 0 to 9. A code may begin with zero.
- Right place counts correct digits in their exact positions. Elsewhere counts other correct digits in different positions.
- Feedback is a count for the whole guess. It does not identify which digit earned each mark.
- Find all four positions within ten guesses. Use the notebook and remaining-code count to plan your next test.
Read both feedback counts
For a sample secret of 0472, the guess 0427 earns 2 right place and 2 elsewhere. The 0 and 4 are correctly positioned; the 2 and 7 belong in the code but have swapped places. In a real round, only the counts are shown.
Code Breaker: player questions
Can a digit appear twice in the secret code?
No. This edition chooses four distinct digits from 0 through 9. Your guesses must also have four distinct digits. Repeated digits are rejected without using a turn.
Can the first digit be zero?
Yes. The code is a four-character sequence, not an ordinary integer. For example, 0472 is a valid code. Keep the leading zero when entering a guess.
What does right place mean?
It counts digits that match both the digit and its position in the secret. Four right-place matches solve the puzzle. The feedback does not point to the individual matching positions.
What does elsewhere mean?
It counts guessed digits that exist in the secret but occupy another position. A digit counted as right place is not counted again as elsewhere.
Does a zero total give useful information?
Yes. A guess with zero right place and zero elsewhere rules out all four of its digits. Those exclusions can be more useful than repeatedly rearranging an untested set.
How many guesses are allowed?
You have ten different valid guesses. A repeated guess or an invalid code is not added to the notebook. After ten unsuccessful guesses, the round shows the secret and ends.
What does the remaining-code count measure?
It counts distinct-digit codes consistent with every exact and misplaced count in your notebook. It starts at 5,040 possibilities and includes the real secret after every valid guess.
Does a hint reveal the secret?
A hint offers one candidate consistent with the known feedback. It is a possible code, not necessarily the secret. If only one candidate remains, that code is logically determined. Hint use is marked in the result.
Can I keep playing after today’s code?
Yes. New practice creates another seeded round without a daily play cap. There are 5,040 distinct-digit codes, so practice can revisit a code; this is not an infinite collection of unique secrets.
Are my guesses uploaded or used in a ranking?
The game and notebook run in your browser and do not need an account. Anonymous play counts, when enabled by your privacy settings, contain only the fixed game name and event type, never the digits you guessed.