Java Internship Program at Oasis Infobyte (Batch-March phase 2 OIBSIP). For Java Development internship, it is required to complete atleast 2 tasks out of 5 for successful completion of internship. So, this is the 2nd Task Number Guessing Game (i.e,2nd task from the given task list). 1st Task already uploaded, but in different repository.
The fun and easy project "Guess the Number" is a short Java project that allows the user to guess the number generated by the computer & involves the following steps:
-
The system generates a random number from a given range, say 1 to 100.
-
The user is prompted to enter their given number in a displayed dialogue box.
-
The computer then tells if the entered number matches the guesses number or it is higher/lower than the generated number.
-
The game continues under the user guessing the number.
******** Also Incorporated ********
-
Limiting the number of attempts.
-
Adding more rounds.
-
Displaying score.
-
Giving points based on the number of attempts.