Skip to content

Latest commit

 

History

History
32 lines (12 loc) · 689 Bytes

README.md

File metadata and controls

32 lines (12 loc) · 689 Bytes

Guessing Game

🎮 Number Guessing Game 🎮¶

📜 Rules:

🎲 The computer randomly selects a number between 0 and 100.

🖊️ The player is asked to input the number of attempts they want (between 0 and 10).

🔍 The player then guesses the number within the specified attempts.

📉 After each guess, the player is informed if the guess is too high or too low.

🔄 The game continues until the player guesses the correct number or runs out of attempts.

🏆 Scoring:

The player starts with a score of 100 points.

For each incorrect guess, 10 points are deducted.

The final score is displayed when the player guesses the correct number or runs out of attempts.