Skip to content

A simple and entertaining web-based game built with HTML, CSS, and JavaScript. Challenge your guessing skills to guess a random number within a chosen range. Keep track of your score and aim to beat your highest score. Enjoy hours of fun and improve your number-guessing prowess!

Notifications You must be signed in to change notification settings

amanverma-11/guess_the_number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

image image

Welcome to the Number Guessing Game repository! This small and fun game is built using HTML, CSS, and JavaScript. It challenges your guessing skills and keeps track of your score and highest score. Let's get started!

Game Overview

The Number Guessing Game is a simple yet entertaining game where the player's objective is to guess a random number within a specified range. With each wrong guess, your score decreases, and if you can beat your highest score, you'll have a new record to brag about!

How to Play

  1. Launch the Game: Open the index.html file in your web browser to start the game.

  2. Make a Guess: Enter your guess in the input field and click the "Check" button. The game will tell you if your guess is too high or too low.

  3. Keep Guessing: Keep making guesses until you correctly guess the random number.

  4. Scoring: Your current score will be displayed on the screen. Try to beat your highest score!

  5. Reset the Game: You can reset the game at any time by clicking the "Again" button. This will clear your current score and generate a new random number.

Features

  • Randomly generated numbers make each game unique.
  • Keep track of your current score and highest score.
  • Easy-to-use interface with clear instructions.

Project Structure

The project structure is quite straightforward:

  • index.html: The HTML file containing the game interface and elements.
  • style.css: The CSS file responsible for styling the game.
  • script.js: The JavaScript file that handles game logic, random number generation, scoring, and user interactions.

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/amanverma-11/number-guessing-game.git

About

A simple and entertaining web-based game built with HTML, CSS, and JavaScript. Challenge your guessing skills to guess a random number within a chosen range. Keep track of your score and aim to beat your highest score. Enjoy hours of fun and improve your number-guessing prowess!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published