Instructions
Welcome to Cows and Bulls!
Objective: Guess the secret number within 10 attempts.
Rules
- A secret number will be generated, consisting of non-repeating 3 digits (each digit between 1 and 9).
- You need to guess the secret number by entering a 3-digit number.
- If a guessed digit matches the corresponding digit in the secret number and is in the correct position, it's a "Bull."
- If a guessed digit matches a digit in the secret number but is in the wrong position, it's a "Cow."
- Based on the number of Bulls and Cows, you can refine your guesses until you find the secret number.
- You have a total of 10 attempts to guess the number. Use them wisely!
Have fun playing Cows and Bulls!
×