Cows & Bulls
Sorry ! Please try again ...
Well done!
You are one of a kind.
By @Anchula_Lalithaditya
- Bull : If the digit in your number is present in answer and position is exactly matched
- Cow : If the digit in your number is present in answer but the position is not exactly matched
-
Constarints
- All the digits are unique & zero is not included
- A digit considered for cow cant be considered for bull
-
Example :
- Answer : 4271
- Player's try: 1234
- Result : 1 bull and 2 cows. (The bull is "2", the cows are "4" and "1".)
- Player Wins if he gets n bulls for n-digit number
- Progressbar indicates chances and life left