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
- Clone or download this repository to your local machine.
- Navigate to the project directory.
- Install dependencies using
npm install inquirer
. - Run the game using
npm start
. - Guess a number between 1 to 10 when prompted.
- The game will inform you if your guess is correct or incorrect.
- 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
- Run the game using the command
npm start
. - Enter your guess when prompted.
- Receive feedback on your guess.
- 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.