Skip to content

rohan37kumar/Guess_the_Number_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Number Game

Welcome to the interactive "Guess the Number" game where the computer tries to guess the number you have in mind. Here's how it works:

How It Works

Game Interface

  1. User Input: Enter a number between 1 and 100 in the input field.
  2. Play Game Button: Click the "PLAY GAME!!!" button to start the game.

Computer Guesses

  • The computer will make five random guesses to find your number.
  • Each guess is displayed on the screen.

Winning and Losing

  • If the computer guesses your number: A message will be displayed saying the computer guessed your number.
  • If the computer doesn't guess correctly: A message will be displayed saying you win because the computer couldn't guess your number.

Input Validation

  • If you enter a number outside the range of 1 to 100, an alert will notify you to enter a valid number.

Enjoy the game and see if the computer can outsmart you!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published