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)