a21_cli_number_guessing_game
v3.0.1
Published
This is cli based number guessing game
Downloads
1
Readme
Number Guessing Game 🎲
A command-line game where you guess a number between 1 and 6. Built with Node.js, using inquirer for interactive prompts.
Features ✨
- Random Number Generation: Generates a random number between 1 and 6 for each game.
- User Interaction: Prompts the user to guess the generated number.
- Winning Condition: Notifies the user when they correctly guess the number.
- Simple and Fun: Minimalistic interface for quick gameplay.
Installation 📦
You can install the Number Guessing Game via npm:
npm i a21_cli_number_guessing_game
Usage 🚀
To run the game, use the following command in your terminal:
npx a21_cli_number_guessing_game
How to Play 🎮
- Guess a Number: Enter a number between 1 and 6 when prompted.
- Winning: If your guess matches the generated number, you win!
- Losing: If your guess does not match, try again for another chance.
License 📝
This project is licensed under the MIT License.