Cows and Bulls is a number guessing game. The target is to guess a 4-digit number that the computer has guessed. The computer guesses the number using the following rules: - The number is a 4-digit number - Only digits from 1 to 9 are used - No digit can be repeated You have 10 tries to guess the number and at each try you can check to see if your guess is correct. The game will analyse your number and tell you how many Bulls and Cows. A Bull means that a particular digit is there and in the right position. A Cow means that a particular digit is there but not in the right position.