This is a simple console-based number guessing game written in Java. The game generates a random number between 1 and 100, and the player tries to guess it. After each guess, the program provides feedback to guide the player.
- π² Generates a random number using 
Math.random() - π§  Takes user input with 
Scanner - β Validates input to ensure it's between 1 and 100
 - π Gives hints if the guess is too high or too low
 - π’ Displays total number of attempts taken to guess correctly
 
Guess a number between 1 and 100: 50 π Your guess is too low. Try again! (Guess count: 1) 75 π Your guess is too high. Try again! (Guess count: 2) 63 π Correct guess! β Total guesses = 3
- Java Basics (
int,if-else,while) - User Input (
Scanner) - Random Number Generation (
Math.random()) - Looping and Conditionals
 
Made with β€οΈ while learning Java.