🐮Bulls & Cows

The classic 1A2B deduction game — crack the hidden 4-digit code

Guesses
0
Fewest moves
–

Type 4 unique digits to start deducing

Guess the hidden 4-digit number using A/B hints! · Type digits or use the keypad, Enter to submit. A = right digit right place, B = right digit wrong place.

How to Use

Each round, guess 4 unique digits. The reply xAyB tells you how many digits are exact (A) and how many are right but misplaced (B). Narrow it down logically.

FAQ

Can the answer repeat digits?

No — both the secret and your guesses use four distinct digits.

How few guesses?

Sharp deduction usually cracks it in 5–7 rounds.

What do A and B mean?

A counts digits that are correct in both value and position; B counts correct digits in the wrong position. If the answer is 1234, guessing 1352 returns 1A2B.

Is there a penalty for wrong guesses?

No limit — you can keep guessing forever. The record only tracks your fewest guesses ever, saved locally. Keeping notes on eliminated digits makes the deduction far more efficient.