"Bulls and Cows" is a logic game where the goal is to guess the programs secret number. All the digits of this number must be different.
After entering your assumed number, you receive a clue in the form of the number of bulls and cows. A bull is a digit that is in the correct position in the secret number, and a cow is a digit that is in the secret number but not in the correct position.
For example, if the secret number is 5234, and you guessed that it is 4631, then you will receive a clue of 1 bull (for the digit 3) and 1 cow (for the digit 4).
The game offers the following modes:
1. Classic game - you try to guess the secret number on every turn;
2. Puzzle mode - you are given a set of attempts that you must use to guess the secret number;
3. Game with computer - you and the computer take turns guessing the secret number;
4. Time game with computer - you and the computer try to guess the secret number, making moves independently of each other.
The game continues until you or the computer (in game modes 3 or 4) guesses the secret number.
"Bulls and Cows" is not only a game for fun but also an excellent workout for your mind and logical thinking. During the game, it is necessary to analyze the clues to make a decision on choosing the optimal option.