Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 644 Bytes

File metadata and controls

24 lines (17 loc) · 644 Bytes

🎯 Bulls and Cows - Number Guessing Game

Welcome to a fun little terminal game where you can try to guess a secret 4-digit code! Each round gives you clues to get closer to the right answer — it's a great test for logical skill.

🕹️ How to Play

  • The computer picks a random 4-digit number.
  • You have 10 tries to guess it.
  • After each guess, you'll get feedback:
  • Bulls = right number, right place.
  • Cows = right number, wrong place.

Example:

Secret: 1234
Your Guess: 1325
Result: 1 Bull, 2 Cows

▶️ Running the Game

Run the command in your terminal

python main.py