Skip to content

kaushikc005/Guess_the_number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the number

The game is based on HTML,CSS and javascript and takes numbers as input.

Description

This project is made as a game,where the user needs to guess a number between 1 and 100. The Number of attempts depends upon the level chosen as there are two levels avilable, easy(10 attempts) & hard(5 attempts).

Rules

1.The challenge is to guess a randomly generated number between 1 and 100.

2.The user can choose between two available game level: Easy & Hard. Easy level provides 10 attempts while Hard level provides 5 attempts for the guessing.

3.The input gets disabled either if the user guesses the number correctly or the attempts are over.

4.There is a new game button which when clicked will restart the game and the user will need to begin by choosing the desired level again.

Run Locally

Clone the project

  git clone https://github.com/kaushikc005/Guess_the_number.git

Go to the project directory and open the index.html in any web browser.

About

A guess the number using HTML,CSS and Javascript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published