WIN-J PLAY Classic games

Number Baseball

Use strike and ball clues to find 3 or 4 distinct digits in 10 guesses. Leading zero is allowed in this number deduction puzzle.

No installationDesktop · mobile

Preparing your game…

Guess history
TurnGuessStrikes (S)Balls (B)
No guesses yet.

Enter distinct ASCII digits, then press Enter or Guess. S means the correct digit in the correct position; B means the correct digit in a different position.

Progress lasts only in this tab. A new game, reload, or language change resets it. Scores are not stored on the server.

How to play

  1. Choose 3 or 4 digits and find a secret made from distinct digits 0–9. It may start with zero, and you have 10 attempts.
  2. A strike (S) means both the digit and its position match. A ball (B) means the digit appears in a different position. Match every position to win.
  3. Enter a guess and press Enter or Guess. Invalid entries and identical previous guesses do not use an attempt. New Game clears the answer and history.

Good to know

If a guess has many balls, try rearranging its digits. Digits from a 0S 0B guess can all be ruled out.

Compare each clue with earlier guesses to narrow down possible positions. Rearranging the same digits counts as a different guess.

Play without signing in or submitting a score.

PLAY & LEARN

Number Baseball · Rules and strategy

Number Baseball is a deduction puzzle that reveals whether digits are present and correctly placed without showing the answer. Learn with 3 digits or try the 4-digit challenge.

Read strikes and balls

Each digit is used once. S counts digits in the correct position; B counts digits present elsewhere in the answer. The sum of S and B is the number of digits shared by your guess and the secret. Zero is allowed in the first position.

Use your 10 attempts

Guesses stay in a numbered history. Start with distinct digits to test which ones are present, then narrow down their positions. Only a valid new guess uses an attempt. A correct tenth guess still wins.

Input and session progress

Type the selected number of digits using ordinary 0–9 keys. Spaces, full-width numerals, and repeated digits are rejected. The answer appears when the game ends. Reloading or changing language clears progress, and no score is submitted to a server leaderboard.

Worked example

If the secret is 0123 and the guess is 0245, 0 is in the correct position and 2 appears elsewhere. The result is 1S 1B.

Frequently asked questions

Can the first digit be zero?

Yes. Answers and guesses such as 012 or 0123 are allowed. A digit may not appear twice.

Does an invalid entry use an attempt?

No. Incorrect length, repeated digits, spaces, and an identical previously submitted guess do not use an attempt.

Can I resume later or play online against someone?

Progress lasts only in the current tab. Reloading, changing language, or starting a new game clears it. Online matches and server score storage are not provided.