Skip to content

shanmugapriyar0/Guess_A_Number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Guess a Number Game

Overview

"Guess a Number" is an interactive number guessing game developed using HTML, CSS, and JavaScript. Players attempt to guess a randomly generated number between 1 and 20. The game provides a scoring system and allows players to track their highest score.

How to Play

  1. The game generates a random number between 1 and 20.
  2. The player enters a guessed number in the input field.
  3. If the guessed number is correct, the player wins with a score of 20.
  4. Each incorrect guess reduces the score.
  5. The highest score achieved is stored on the page.
  6. Click the "New Game" button to restart and play again.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Features

  • Random number generation
  • Score tracking system
  • High score storage
  • Interactive UI with real-time feedback
  • Reset functionality for new game sessions

Installation

  1. Download the project files.
  2. Open index.html in a browser to start playing.

Future Enhancements

  • Add animations and sound effects.
  • Implement difficulty levels.
  • Allow customization of number range.

Enjoy the game!

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors