| Your tries | |
|---|---|
| Number | B & C |
Invalid number
| p1 | p2 | p3 | p4 |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 2 | 2 | 2 |
| 3 | 3 | 3 | 3 |
| 4 | 4 | 4 | 4 |
| 5 | 5 | 5 | 5 |
| 6 | 6 | 6 | 6 |
| 7 | 7 | 7 | 7 |
| 8 | 8 | 8 | 8 |
| 9 | 9 | 9 | 9 |
Use the helper table to eliminate the digits on impossible positions
| Computer tries | |||
|---|---|---|---|
| Number | Bulls | Cows | Action |
Invalid number
Bulls and Cows is a logic game to guess numbers. The numbers have to be with four digits and the digits must be all different. The game is played by two players and they take turns to try to guess their opponent's number. The answering player responds with the number of matchng digits. If they are in their right positions, they are "bulls"; if in different positions, they are "cows".
Example:
If the player's number is 7059
And the opponent asks how many matches are there in 7890
The answer is 1 "bull" and 2 "cows".