From Wiktionary, the free dictionary
A correct guess at a digit or letter is called a "bull" or a "cow", depending on whether the guessed location is also correct.
bulls and cows (uncountable)
- A codebreaking game in which each player attempts to deduce the other's secret number or word.