A beginner-friendly Java console application where the player tries to guess a randomly generated number between 1 and 50.
- Java
- The program generates a random number between 1 and 50.
- The player enters a guess.
- The game provides feedback:
- 📉 Too low! if the guess is smaller than the target.
- 📈 Too high! if the guess is greater than the target.
- 🎉 Correct! You win. when the correct number is guessed.
- The game continues until the player guesses the correct number.
git clone https://github.com/JavaLabs-io/NumberGuessingGame.git
cd NumberGuessingGamejavac NumberGuessingGame.javajava NumberGuessingGame