{"_id":"@abdul_waheed/adventure-game","_rev":"4-799063b3752cf64ee567f438d1b1854f","name":"@abdul_waheed/adventure-game","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"@abdul_waheed/adventure-game","version":"1.0.0","description":"Adventure Game","main":"index.js","type":"module","bin":{"adventure-game":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.12.7"},"dependencies":{"chalk":"^4.1.2","inquirer":"^9.2.20"},"_id":"@abdul_waheed/adventure-game@1.0.0","gitHead":"3b438fd7c127f18e15e4266d746b17c9d63b0b48","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-er0g5n2D3dpZ78tyvY+rSHA5iB95vpr5Jl3R0l3XWJOphpQlJVseSb8IL0ow24Es8Cu7oKLnmPhCpF30UQQ/tQ==","shasum":"cf9eccd728af08fdebebb3f18e0be87afdb9d35b","tarball":"https://registry.npmjs.org/@abdul_waheed/adventure-game/-/adventure-game-1.0.0.tgz","fileCount":5,"unpackedSize":18972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIt3/r3GNYUfkeB/zm6lvYuu9JZZqlRJ21q4dVPBiAFAIgAyhTxFkwx3ZRRmy0bY1Xjoji2GgI+BiK1tdbxa0wY0s="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adventure-game_1.0.0_1714648094006_0.01515942031560491"},"_hasShrinkwrap":false},"1.0.1":{"name":"@abdul_waheed/adventure-game","version":"1.0.1","description":"Adventure Game","main":"index.js","type":"module","bin":{"adventure-game":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":"","license":"ISC","devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.12.7"},"dependencies":{"chalk":"^4.1.2","inquirer":"^9.2.20"},"_id":"@abdul_waheed/adventure-game@1.0.1","gitHead":"3f51ace9215cfb9415a5f5a7ea8aa9102cb5d761","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-xk/ZRZiIa8q1jM4Y8UGszvLc78DoAXsz9jjblwsn2G7VHH/ahKmQUH5lKfbKWN1vaAZRc0QfzbSZpFWFCUwsWw==","shasum":"c67be6cafea6b58ee6133e8c050221060087844f","tarball":"https://registry.npmjs.org/@abdul_waheed/adventure-game/-/adventure-game-1.0.1.tgz","fileCount":5,"unpackedSize":18972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTaikrx5CyR/+Rz1GNI6bfz2IiwR5t5PWH9n1k3/jLHAiEA395f5yD7cPGbuHzatUI6+dzz4uy+xrT0wfHYijxgi4I="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adventure-game_1.0.1_1714648674418_0.6712932471973054"},"_hasShrinkwrap":false},"2.0.1":{"name":"@abdul_waheed/adventure-game","version":"2.0.1","description":"Adventure Game CLI Based","main":"index.js","type":"module","bin":{"adventure-game":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.12.7"},"dependencies":{"chalk":"^4.1.2","inquirer":"^9.2.20"},"_id":"@abdul_waheed/adventure-game@2.0.1","gitHead":"3cf01b0d3f2d7b346ee1f0c405d5db811224cbf2","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Lu8eKGdVMS1bXzu2lC641Hz05Hxs5ma5h1BWvVOQsAMAjdb5jaSZGNQN9PpfuXHZkiamP64xVr4vvL0dmSz+0Q==","shasum":"7330165ae7ddfe385d58ef870170458e76a82ed8","tarball":"https://registry.npmjs.org/@abdul_waheed/adventure-game/-/adventure-game-2.0.1.tgz","fileCount":5,"unpackedSize":18994,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYv1B+ZRt+ux3X236eAWIuD2NOI3CuD3q8JN4Ni7BQHAiB1DQzOacPy45Uf2KiZDsaPldKVuFMQ6pv3EusOSh+RUg=="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adventure-game_2.0.1_1714649167884_0.5030353103047251"},"_hasShrinkwrap":false},"2.0.2":{"name":"@abdul_waheed/adventure-game","version":"2.0.2","description":"Adventure Game CLI Based","main":"index.js","type":"module","bin":{"adventure-game":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.12.7"},"dependencies":{"chalk":"^4.1.2","inquirer":"^9.2.20"},"_id":"@abdul_waheed/adventure-game@2.0.2","gitHead":"428d97743650f8001cc7020672419356f888df66","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-kahQQW+zS+2X/mCOL2UkyV+uAJzaIg7taO7m4Pr7mqAuva/FIfaVowiiLFeBxM831OCR7m0lQJmycZ6CWRzD7Q==","shasum":"5142a1c2fb76d5690a085bf00b8ae7eb45a3673f","tarball":"https://registry.npmjs.org/@abdul_waheed/adventure-game/-/adventure-game-2.0.2.tgz","fileCount":5,"unpackedSize":19016,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4bWq/0RaMbjEPz27stMJZaoya9cmMszUeSMJ2llIuqAiACl/q59Hugewj8K2xE7MvM6Qtk7KIvdW3/jA8GedIARA=="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adventure-game_2.0.2_1714656881533_0.9973065957483525"},"_hasShrinkwrap":false},"2.0.3":{"name":"@abdul_waheed/adventure-game","version":"2.0.3","description":"Adventure Game CLI Based","main":"index.js","type":"module","bin":{"adventure-game":"index.js"},"publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Abdul Waheed"},"license":"ISC","devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^20.12.7"},"dependencies":{"chalk":"^4.1.2","inquirer":"^9.2.20"},"_id":"@abdul_waheed/adventure-game@2.0.3","gitHead":"47e56a2a16a1ce53e4c12932ae86363c045aa412","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-lRkR1CUTTTYEGXiSfv/CdtQFxv7lZCU3Do6d5gJ8F/3CnKU+Nm6BQxRxa97pEvD06yMoHp51mOdDML6KcZyyDg==","shasum":"cb0e58da6d26b093b6473c5d203e110fff9cfc07","tarball":"https://registry.npmjs.org/@abdul_waheed/adventure-game/-/adventure-game-2.0.3.tgz","fileCount":5,"unpackedSize":19036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+V6n/Uwi5Z7EVSBBW15a5rQqWxKAtChgM5gTLRebdrAiALZd/IziJxgwsfaJTJ0g5q3QpSPDiE3ghuOfiMCVmZsA=="}]},"_npmUser":{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"},"directories":{},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/adventure-game_2.0.3_1714712841970_0.853034164186192"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-02T11:08:13.868Z","1.0.0":"2024-05-02T11:08:14.195Z","modified":"2024-05-03T05:07:22.303Z","1.0.1":"2024-05-02T11:17:54.592Z","2.0.1":"2024-05-02T11:26:08.045Z","2.0.2":"2024-05-02T13:34:41.699Z","2.0.3":"2024-05-03T05:07:22.147Z"},"maintainers":[{"name":"abdul_waheed","email":"waheedjdk@hotmail.com"}],"description":"Adventure Game CLI Based","keywords":[],"license":"ISC","readme":"# Fuel Battle Game\r\n\r\nFuel Battle Game is a simple command-line game where you, as a player, engage in a battle of fuel against various opponents. The game is developed in TypeScript and uses inquirer for interactive command-line prompts.\r\n\r\n## How to Play\r\n\r\n1. **Start the Game**: Run the game using the command `npx @abdul_waheed/fuel-battle-game`.\r\n2. **Enter Your Name**: Enter your name when prompted.\r\n3. **Select Your Opponent**: Choose an opponent to battle against (Skeleton, Assassin, or Zombie).\r\n4. **Battle Begins**: The battle begins with each turn allowing you to choose from three options:\r\n   - **Attack**: Attack your opponent and reduce their fuel. You may win or lose based on a random outcome.\r\n   - **Drink Potion**: Replenish your fuel by drinking a health potion.\r\n   - **Run for your life..**: Choose to flee from the battle. Be cautious, as fleeing might lead to defeat.\r\n5. **Win or Lose**: Keep battling until either you or your opponent runs out of fuel. If your fuel drops to zero, you lose the game. If your opponent's fuel drops to zero, you win!\r\n\r\n## Technologies Used\r\n\r\n- TypeScript\r\n- Inquirer\r\n- Chalk\r\n\r\n## Installation\r\n\r\nTo install the game locally, use the following command:\r\n\r\n```bash\r\nnpm install -g @abdul_waheed/fuel-battle-game\r\n```\r\n\r\n## Usage\r\n\r\nTo start the game, run the following command:\r\n\r\n```bash\r\nnpx @abdul_waheed/fuel-battle-game\r\n```\r\n\r\n","readmeFilename":"README.md","author":{"name":"Abdul Waheed"}}