Skip to content

oluchicharity/Number-Guesser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Guesser Game

Description

This is a simple number guessing game where the player has to guess a secret number between 1 and 100 within a limited number of attempts.

How to Play

  1. Enter a number between 1 and 100 in the input field.
  2. Click the "Guess" button.
  3. You will receive feedback whether your guess is too high, too low, or correct.
  4. You have a limited number of attempts to guess the correct number.

Installation

  1. Clone the repository:
    git clone (https://github.com/oluchicharity/Number-Guesser.git)
    cd Number-Guesser
  2. Open index.html in your web browser to play the game.

Running locally

npm install
npm start

Running Tests

  1. Install Jest:
    npm install jest
  2. Run the tests:
    npm test

Hosting

The game is hosted on GitHub Pages. You can play it here.

Git Workflow

  • Create branches for different features.
  • Open pull requests for code review.
  • Merge branches into the main branch after review.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published