Skip to content

This repository contains a Java program for a simple number guessing game. The program generates a random number within a specified range and prompts the user to guess the number. Feedback is provided on whether the guess is correct, too high, or too low.

License

Notifications You must be signed in to change notification settings

saudsync/Number-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Game

A simple Java program where the user has to guess a randomly generated number within a specified range.

How to Play

  1. Clone this repository.
  2. Compile and run Main.java.
  3. Follow the prompts to guess the number.
  4. You have a limited number of attempts.
  5. Enjoy the game!

Features

  • Generates a random number within a specified range.
  • Provides feedback on whether the guess is correct, too high, or too low.
  • Limits the number of attempts the user has.
  • Allows for multiple rounds of play.

About

This repository contains a Java program for a simple number guessing game. The program generates a random number within a specified range and prompts the user to guess the number. Feedback is provided on whether the guess is correct, too high, or too low.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages