The rules of Bulls and Cows (called Hit & Blow in Japan) boil down to this.

You guess a hidden row of symbols. Each time you guess, you get back hits (the number of symbols that are right and in the right place) and blows (the number of symbols that are right but in the wrong place).

Both the answer and the guesses are rows of all-different symbols. On this page, we explain with the digits 0 to 9 as the symbols.

How to count hits and blows

Here is an example of a few guesses when the answer is “427.”

#1472HIT 1BLOW 2#2159HIT 0BLOW 0#3742HIT 0BLOW 3#4420HIT 2BLOW 0Answer427
  • 472: The 4 is in the right place, so it is a hit. The 7 and the 2 are in the answer but in the wrong places, so they are blows. That is 1 hit, 2 blows.
  • 159: None of the digits is in the answer. That is 0 hits, 0 blows.
  • 742: The 4, 2 and 7 are all in the answer, but none is in the right place. That is 0 hits, 3 blows.
  • 420: The 4 and the 2 are in the right places, so that is 2 hits. The 0 is not in the answer. That is 2 hits, 0 blows.

The trick to counting is to first count the symbols that are also in the right place (hits), then count the ones in the answer among the remaining symbols (blows).

FAQ

Can you use the same digit twice?

No. Each symbol appears only once in the answer and in each guess. In the app “Bulls and Cows” too, a symbol key you have put into a guess cannot be chosen again during that guess.

What does the total of hits and blows mean?

It is the number of symbols in the answer among the ones you guessed. For example, with 3 digits and a total of 3, you have all the symbols and only the order is left.

Are there combinations that never appear?

Yes. With 3 digits, “2 hits, 1 blow” never appears. If two symbols are in the right places and all three are in the answer, the last one can only go in the open place, so it is a hit too. For the same reason, “3 hits, 1 blow” never appears with 4 digits.

These are the 9 combinations that appear with 3 digits (we checked all 720 answers; for how likely each is, see How Many Possible Answers?).

  • 0 hits: 0, 1, 2 or 3 blows
  • 1 hit: 0, 1 or 2 blows
  • 2 hits: 0 blows
  • 3 hits (solved)

Can a row start with 0?

In the boards on this page, 0 to 9 are used as “symbols,” not “numbers,” so rows that start with 0 exist. In other ways to play, there can be rules such as not using 0, or not putting 0 first.

How many digits do you play?

In the app “Bulls and Cows,” it changes with the difficulty, from 3 digits at ★1 to 7 digits at ★5. There are 10 symbols.

DifficultyDigitsAnswer candidates
★13 digits720
★24 digits5040
★35 digits30240
★46 digits151200
★57 digits604800

Is there a limit on guesses?

The app has no limit on guesses. You can keep guessing until you get it. There is a “target number” (digits plus 3), though, and if you solve it within it, the clear coins are multiplied by 1.5.

Are the symbols only numbers?

In the app, the standard is numbers, but you can dress them up as symbol sets such as gems, color balls and Roman numerals. Only how the symbols look changes. The rules are the same.

What to read next

Once you know the rules, look at Tips for Bulls and Cows for ways to think so you solve it in fewer guesses. The app screens are introduced in How to Play and the Rules. To play right away in your browser, see the playable board page, and for other questions, see the FAQ.