Cow by Maxim Kulikov from the Noun Project
bull by Tanya from the Noun Project
https://coolors.co/ed6a5a-f4f1bb-9bc1bc-5ca4a9-e6ebe0
Rules
1
Cow - denotes the number of digit you have guessed correctly but are not in correct position
1
Bull - denotes the number of digit you have guessed correctly and falls on the right position
Max digits
Only 4 digits allowed with no repetition
Lets assume that 7024 is the hidden number and you start with 1234 as your first guess
If you compare 7024 and 1234, you will find that there are two digits 2 and 4 that are common.
You will also notice that the digit 4 is matching exactly in position for both and hence it counts for 1 Bull.
For digit 2 in 1234, it is present in 7024 but not in correct position and hence 1 Cow.
With further guess, your goal is to get 4 Bulls and find the hidden number.