Skip to content

Subhamsidhanta/Number-Guessing-Game-Java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🎮 Number Guessing Game (Java)

Welcome to the Number Guessing Game – a simple and fun Java console game where you try to guess a randomly generated number based on your chosen difficulty. The game provides helpful hints to guide you toward the correct number.


🚩 How to Play

  1. 🎯 Choose a difficulty:

    • 🟢 Easy → Range 1 to 10
    • 🟡 Medium → Range 1 to 100
    • 🔴 Hard → Range 1 to 1000
  2. 🕹 Start guessing the number.

  3. 💡 You’ll get hints if your guess is too high or too low.

  4. 🛑 Enter 101 at any time to exit the game.


💻 Features

  • ✅ Three difficulty levels
  • ✅ Random number generation
  • ✅ Hint system (greater/lower)
  • ✅ Exit option
  • ✅ Clean and beginner-friendly code

📦 Requirements

To run this game, you need:

  • ✅ Java Development Kit (JDK) version 8 or higher
  • ✅ A code editor or IDE (recommended: VS Code or IntelliJ IDEA)
  • ✅ A terminal or command prompt to compile and run the program

⚙️ Installation & Setup

1️⃣ Install Java

  • Download the JDK and install it.
  • Verify the installation:
    java -version
    javac -version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages