This project is a simple number guessing game where players try to guess a randomly chosen number between 1 and 100. The game provides feedback on whether the guess is too high or too low and allows up to 5 attempts to guess the correct number.
- Random Number Generation: The game generates a random number between 1 and 100 at the start of each round, providing a unique challenge for the player.
- Input Validation: Player input is validated to ensure it falls within the acceptable range (1-100). Invalid inputs prompt appropriate error messages without affecting the game's progress.
- Feedback Mechanism: Clear and concise feedback is provided to the player after each guess, guiding them to adjust their next guess accordingly (higher or lower).
- Limited Attempts: The player is given a maximum of 5 attempts to guess the correct number, adding a sense of urgency and challenge to the game.
- End-of-Game Messages: When the game concludes, informative messages are displayed, indicating whether the player has won by guessing the correct number or lost after exhausting all attempts.
- Simple User Interface: The game features a straightforward user interface, making it easy for players to understand and interact with.
- Java Programming: Developed using Java programming language, showcasing skills in basic Java syntax, input/output handling, and conditional statements.