Skip to content

Guess the Number Game using Java where the computer generates a random number, and the player has to guess it within a limited number of attempts.

Notifications You must be signed in to change notification settings

CamilaApai/Guess-the-Number-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Overview

This project aims to develop a simple guessing game where the user attempts to guess a randomly generated number within a specified range. The software serves as an example of a Java game, highlighting integration with Visual Studio Code and GitHub.

The primary goal is to provide an interactive experience for the user, allowing them to engage in the challenge of guessing a number between 1 and 100. The software provides feedback to the user after each guess, indicating whether the guessed number is higher or lower than the target number.

Software Demo Video

Development Environment

Tools:

  • Windows 10
  • Git / GitHub
  • Visual Studio Code
  • Java

Libraries:

  • java.util.Random: This library is used to generate random numbers.
  • java.util.Scanner: This library is used to get user input from the console.
  • java.util.ArrayList: This library is used to work with dynamic arrays in Java.

Useful Websites

Future Work

  • Create a graphic user interface.
  • Incorporate error handling for times when the user enters an invalid value.
  • Provide the user with different range options within which to guess.

About

Guess the Number Game using Java where the computer generates a random number, and the player has to guess it within a limited number of attempts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages