EllizeApps Apps
Bulls & Cows: guess the number v
This is the numerical version of the game. Thegame is played with 3, 4 or 5 digitsAndroid writes a 4-digit secret number. The digits must be alldifferent. Then, the player try to guess the number. Android givesthe number of matches. If the matching digits are in their rightpositions, they are "bulls", if in different positions, they are"cows".Example:Secret number: 4271Opponent's try: 1234Answer: 1 bull and 2 cows. (The bull is "2", the cows are "4" and"1".)