mubeen-numguessing
v1.1.0
Published
A command-line number guessing game built with Node.js and Inquirer.
Downloads
25
Maintainers
Readme
Number Guessing Game CLI
Welcome to the Number Guessing Game CLI, a fun and interactive command-line game built with Node.js, Chalk, Inquirer, Boxen, and Clear.
Features
- 🌈 Rainbow-themed CLI interface powered by Chalk
- 🔢 Guess the secret number and conquer the game
- 🚀 Engaging animations for a delightful experience
- 🎲 Randomly generated secret number.
- 🎨 Animated ASCII art for an engaging start.
- 💬 User-friendly prompts and messages.
- 📦 Stylish information boxes using Boxen
- 🧹 Clear terminal screen for improved visibility with Clear
- 🔁 Option to restart the game after completion.
Dependencies
Installation & Usage
- Install the calculator globally:
npm install -g mubeen-numguessing
- Run the calculator:
npx mubeen-numguessing
- Follow the prompts to play the game with style!
How to Play
- You have 5 lives to guess the correct number.
- The game provides feedback on your guess, indicating if you are close or far away.
- If you guess the correct number, congratulations! The game will prompt if you want to play again.
- If you run out of lives, the game ends, and you can choose to play again.
Issues
If you encounter any issues or have suggestions, please message me on GitHub.