Skip to content

Bulls and Cows

Guess the secret digits: A for right place, B for right digit, wrong place.

Loading game…

How to play

  1. The secret is a number of different digits (0 to 9), four by default.
  2. Guess a number with different digits. A counts digits in the right place; B counts right digits in the wrong place.
  3. 4A means you've got it. Fewer guesses is better.
  4. A hint suggests a guess that fits every clue so far.
  5. The daily number is the same for everyone.

About Bulls and Cows

Play Bulls and Cows (the 1A2B number guessing game) free online: 3, 4 or 5 different digits, unlimited practice, a hint that reasons from your clues, and a daily number for everyone.

Bulls and Cows: common questions

What do A and B mean?
A (a bull) is a digit that's right and in the right place. B (a cow) is a digit that's in the secret but in a different place. 1A2B means one digit is placed right and two more are right but misplaced.
Can the secret start with 0?
Yes. The secret is a string of different digits, not a number: 0 can be anywhere.
How many guesses should it take?
Four digits can always be found in seven guesses with perfect play, and usually in five or six. Three digits in about four; five digits in about seven.
What's the best opening?
Any guess works equally well as the first, since nothing is known. The second should share no digits with the first (0123 then 4567), which tells you how many of the secret's digits are in 8 and 9.
  • Make 241 playerFour numbers, + − × ÷, make exactly 24.Puzzle GamesPlay
  • Pipes1 playerRotate the pieces until every pipe connects back to the source.Puzzle GamesPlay
  • Fences1 playerDraw one loop so every number counts its drawn sides.Puzzle GamesPlay
  • Letter Grid1 playerTrace words through touching letters. How many are hiding in the grid?Puzzle GamesPlay
  • Pearls1 playerOne loop through every pearl: straight at white, turn at black.Puzzle GamesPlay
  • Maze1 playerFind the way from the top-left to the exit. Three sizes and a daily maze.Puzzle GamesPlay

More Puzzle Games →