DEDUCTION · NINELEAF ORIGINAL

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
2026-11-22 · UTCLocal progress
A LITTLE DISCOVERY

Preparing your puzzle…

Four digits. One good deduction.

No timer · No account · Progress stays in this browser

YOUR FIRST GOOD GUESS

How to play Code Breaker

  1. Enter four different digits from 0 to 9. A code may begin with zero.
  2. Right place counts correct digits in their exact positions. Elsewhere counts other correct digits in different positions.
  3. Feedback is a count for the whole guess. It does not identify which digit earned each mark.
  4. 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.

Read the rules and first-move guide ↗

A LITTLE HELP, WHEN YOU NEED IT

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.

A little more to play

Privacy settings

Our anonymous page counter uses daily totals without visitor IDs or analytics cookies. Google Analytics follows regional settings and your saved choice below.

Changes apply to future counts. Earlier totals cannot be linked back to your browser. Your account and bookmarks are unaffected. Read our privacy details.

Optional Google Analytics

GA4 is controlled by regional settings and your saved choice. Analytics cookies help measure visits, traffic sources and broad regions. You can turn GA4 off below. Advertising personalization is off.

YOUR NEXT GOOD CONVERSATION

Good games.
Better company.

Sign in to start one thoughtful discussion a day and reply whenever inspiration strikes.

By continuing, you agree to our Terms and Privacy Policy.
ONE TOPIC. EVERY DAY.

Start something good.

Ask a question, share a discovery, or tell us what has you hooked.

One new topic per account per day, resetting at 00:00 UTC. New posts are reviewed before appearing publicly.