Guess the four-digit number in as few turns as possible. Get a bull for every correct digit. Get a cow, if the correct digit is in a different position.