3 digits in Bulls and Cows is the smallest board, ★1 in the app “Bulls and Cows.” The answer is a row of 3 all-different digits from 0 to 9, and there are 720 candidates. The target number is 6 guesses.
An example game
Let’s follow this one game in order.
Guesses 1 to 3: Narrow down the digits used
For guesses 1 to 3, guess 3 different digits each and find out which groups the answer’s digits are in.
| Guess | Clue | Total | Candidates left |
|---|---|---|---|
| 012 | 0 hits, 1 blow | 1 | 252 |
| 345 | 0 hits, 1 blow | 1 | 96 |
| 678 | 0 hits, 0 blows | 0 | 24 |
Adding the totals gives 1 + 1 + 0 = 2. The answer has 3 digits, so one is still missing. The only digit from 0 to 9 that we have not used in a guess is 9, so 9 must be in the answer.
What we know so far:
- One of 0, 1 and 2 is in it (with 0 hits, it is not in the place it had in 012).
- One of 3, 4 and 5 is in it (again, not in the place it had in 345).
- 6, 7 and 8 are not in it. 9 is in it.
There are 24 rows that fit these conditions.
Guess 4: Guess from the candidates
For guess 4, we guessed “509” from the 24 candidates. The result was 0 hits, 3 blows. The digits are set as 5, 0 and 9, and none is in the place it had in 509.
Of the ways to arrange 5, 0 and 9, the ones with no digit in its 509 place are “095” and “950.” Also, from the 1st clue (0 hits on 012), 0 cannot go in the 1st place. So “095” is out, and the answer is ”950.”
Guess 5: Solved
We guessed 950 and solved it in 5 guesses, within the target of 6.
Summary of solving 3 digits
- Guess with different digits three times, like 012, 345 and 678, and narrow down the digits used from the totals (if three guesses are not enough, 9 is in it).
- Use a guess with 0 hits also as a place clue: “it is not in that place.”
- Once the digits are narrowed down, guess rows that do not contradict the clues.
- When few candidates are left, write them out and check each against the clues one by one.
With this method, if the totals add up early, you can move on to step 4 without waiting for the 3rd guess. For example, if the totals of the 1st and 2nd guesses reach 3, none of 6 to 9 is in it (see the example in Tips for Bulls and Cows).
How many guesses does it take?
When we checked all 720 answers, if you pick your guesses well, you can solve any answer in 6 guesses or fewer, with an average of about 5.1. With the method of picking one row at a time from the rows that fit the clues, the average is about 5.2 (Is There a Winning Strategy?). The target of 6 is a number you can always reach with good reasoning.
Once you are used to 3 digits, move on to Solving 4 Digits.
