{"_id":"@azfarmasood21/cli-project-01-number-guessing-game-01","name":"@azfarmasood21/cli-project-01-number-guessing-game-01","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@azfarmasood21/cli-project-01-number-guessing-game-01","version":"1.0.0","description":"This is a Simple Number Guessing Game:","main":"Project-01-Number-Guessing-Game.js","type":"module","bin":{"cli-Number-Guessing-Game-azfar-01":"Project-01-Number-Guessing-Game.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Azfar"},"license":"ISC","dependencies":{"alert":"^5.1.4","chalk":"^5.3.0","chalk-animation":"^2.0.3","figlet":"^1.6.0","inquirer":"^9.2.10","node":"^20.5.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chalk-animation":"^1.6.1","@types/figlet":"^1.5.6","@types/inquirer":"^9.0.3","@types/node":"^20.5.7"},"_id":"@azfarmasood21/cli-project-01-number-guessing-game-01@1.0.0","gitHead":"3bb785e26f095bc6b0a46196c123c99ccbbfc066","_nodeVersion":"18.18.2","_npmVersion":"10.2.0","dist":{"integrity":"sha512-Z/G+WNa6PZuv1tqa0rNDESwgReo71rWOqxUqhTkwIGKyfFWrL1nC51ZTO34ri9uzERtRmtQvq5+NVmyz0ttohw==","shasum":"1404c220bd3782a2f97c33f1eacb76bf9886325d","tarball":"https://registry.npmjs.org/@azfarmasood21/cli-project-01-number-guessing-game-01/-/cli-project-01-number-guessing-game-01-1.0.0.tgz","fileCount":5,"unpackedSize":25652,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAds2cUOcPBbJWCb/QAitG8zcDw0eelHr7X+7uX/E+SEAiBMoE0QbE7GsrsmDZ1E07/RD8sUmglnD0yB94W6HVVZKQ=="}]},"_npmUser":{"name":"azfarmasood21","email":"azfarmasood22@gmail.com"},"directories":{},"maintainers":[{"name":"azfarmasood21","email":"azfarmasood22@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-project-01-number-guessing-game-01_1.0.0_1697881548383_0.09498556033535221"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-21T09:45:48.289Z","1.0.0":"2023-10-21T09:45:48.573Z","modified":"2023-10-21T09:45:48.850Z"},"maintainers":[{"name":"azfarmasood21","email":"azfarmasood22@gmail.com"}],"description":"This is a Simple Number Guessing Game:","author":{"name":"Azfar"},"license":"ISC","readme":"# Number Guessing Game:\r\n\r\n## Discription:\r\n\r\n    Welcome to the Number Guessing Game! This is a simple command-line game built with Node.js that challenges you to guess a random number within a given range.\r\n\r\n## Table of Contents:\r\n\r\n- [How to Play](#how-to-play);\r\n- [Game Rules](#game-rules);\r\n- [Author](#author);\r\n- [Installation](#installation);\r\n- [npm and npx Package](#npm,npx.packages);\r\n\r\n## How to Play:\r\n\r\n1. **Start the Game:** \r\n    When you start the game, you'll see a colorful welcome message and game title.\r\n\r\n2. **Choose Difficulty:** \r\n    Choose your preferred difficulty level:\r\n   - Easy\r\n   - Medium\r\n   - Hard\r\n\r\n3. **Guess the Number:**\r\n    Once you've selected a difficulty level, the game will generate a random number within a predefined range, and you'll need to guess that number.\r\n\r\n4. **Enter Your Guess:** Enter your first guess when prompted.\r\n\r\n5. **Receive Feedback:** \r\n   - The game will provide feedback on your guess:\r\n   - If your guess is too low, it will tell you and show the number of remaining attempts.\r\n   - If your guess is too high, it will also inform you of that and display the remaining attempts.\r\n   - If you guess correctly, you win the game!\r\n\r\n6. **Keep Guessing:** \r\n    Keep guessing until you either find the correct number or run out of attempts.\r\n\r\n7. **Game Over:** \r\n    If you win, the game will display a victory message. If you lose, it will reveal the correct number.\r\n\r\n8. **Restart or Exit:** \r\n    You can choose to restart the game or exit after each round.\r\n\r\n## Game Rules:\r\n\r\n- **Easy:** You have 20 attempts to guess a number between 1 and 40.\r\n- **Medium:** You have 15 attempts to guess a number between 1 and 60.\r\n- **Hard:** You have 10 attempts to guess a number between 1 and 100.\r\n\r\n## Installation:\r\n    To play this game, you'll need to have Node.js installed on your computer. If you don't have it, you can download it from the official [Node.js website](https://nodejs.org/).\r\n\r\n## npm Package:\r\n\r\n1. ```npm Package:\r\n    npm i @azfarmasood21/cli-project-01-number-guessing-game-01\r\n    ```\r\n## npx Package:\r\n\r\n2. ```npx Package:\r\n    npx @azfarmasood21/cli-project-01-number-guessing-game-01\r\n   ```\r\n## Author:\r\n    This Number Guessing Game was created by Hafiz Azfar Masood.","readmeFilename":"README.md"}