Skip to content

SHASWAT2000-loves-logic/Number-Guesser-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

General description - This is a number guessing game, where the user has 3 attempts to guess the right number between 1 and 10 (both included).

Technology used - HTML5, CSS and Vanilla JavaScript

**Framework used ** - Skeleton CSS. For more information on Skeleton, visit [Skeleton] (http://getskeleton.com/)

Game description - 1. The user has 3 attempts to guess the right number between 1 and 10 (inclusive). The correct number is generated using Math.random().

  1. When the user clicks to check their answer, they will be notified whether they got the right or the wrong answer.

  2. If the answer is correct, user will be shown the "success" message and they can use the same "play again" button to play the game again.

  3. If the answer is incorrect, the user will be shown a "failure" message, along with the number of attempts left to get the right answer.

  4. After all attempts are used, the user will be shown the correct answer, and the "play again" button can be used to play the game again.

Note - As mentioned above, I don't have a CSS stylesheet, because I have used Skeleton CSS and imported its classes into my application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published