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

No packages published

Languages