number-guessing-game-cli-based-app

1.0.0 • Public • Published

Number Guessing Game

Welcome to the Number Guessing Game! Test your luck and see if you can guess the randomly generated number between 1 to 10.

How to Play

  1. Clone or download this repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies using npm install inquirer.
  4. Run the game using npm start.
  5. Guess a number between 1 to 10 when prompted.
  6. The game will inform you if your guess is correct or incorrect.
  7. You can choose to play again after each round.

Features

  • Randomly generates a number between 1 to 10.
  • Allows the user to input their guess.
  • Notifies the user if their guess is correct or incorrect.
  • Offers the option to play again.

Requirements

  • Node.js installed on your machine.
  • npm (Node Package Manager) installed on your machine.

Usage

  1. Run the game using the command npm start.
  2. Enter your guess when prompted.
  3. Receive feedback on your guess.
  4. Choose to play again or exit the game.

Author

Engr. Jalal Saleem

License

This project is licensed under the MIT License - see the LICENSE file for details.

Package Sidebar

Install

npm i number-guessing-game-cli-based-app

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.33 kB

Total Files

5

Last publish

Collaborators

  • engr_jalal_saleem