# mubeen-adventuregame

> Welcome to AdventureGame, a simple command-line text-based game where you battle different enemies and manage your health potions. Enjoy the thrill of combat and make strategic decisions to survive!

Latest version **1.0.3** (published 2024-02-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install mubeen-adventuregame
pnpm add mubeen-adventuregame
yarn add mubeen-adventuregame
bun add mubeen-adventuregame
```

Provides the command `mubeen-adventuregame`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2024-02-04 |
| First published | 2024-02-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 27.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Mubeen Mehmood |
| Maintainers | mubeendeveloper |
| Keywords | adventure, game, text-based, command-line, combat, inquirer, rpg, battle, health, potion, strategy, interactive, npm, typescript |

## Links

- npm: https://www.npmjs.com/package/mubeen-adventuregame
- Repository: https://github.com/mubeendev3/typescript-projects
- Homepage: https://github.com/mubeendev3/typescript-projects/tree/main/11-AdventureGameProject#readme
- Issues: https://github.com//mubeendev3/typescript-projects/issues
- npm.io page: https://npm.io/package/mubeen-adventuregame

## Dependencies (1)

- [inquirer](https://npm.io/package/inquirer.md) ^9.2.13

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2024-02-04
- 1.0.2 — 2024-02-04
- 1.0.1 — 2024-02-04
- 1.0.0 — 2024-02-04

## README

# AdventureGame

Welcome to AdventureGame, a simple command-line text-based game where you battle different enemies and manage your health potions. Enjoy the thrill of combat and make strategic decisions to survive!

## Features

- ⚔️ Exciting text-based adventure game with combat scenarios
- ⚡ Dynamic enemy encounters with varying health and attack damage
- 🍷 Health potions to heal and continue the battle
- 🔄 Interactive CLI interface with user-friendly prompts
- 🎭 Animated attack sequences for an engaging experience
- 🚀 Game loop allowing continuous battles or exit options
- 📊 Display of player and enemy health during combat
- 🧙‍♂️ Multiple enemy types, adding diversity to encounters
- 🌟 Randomized events, such as enemy dropping a bomb or health potion
- 💡 Instructions displayed at the start for user guidance
- 🛠️ Object-oriented design for clean and maintainable code
- 🔄 Game restart option for ongoing adventures
- 📈 Health potion drop chance to enhance gameplay
- 🔄 Clear and concise victory or defeat messages
- 🔄 Colorful console output for a visually appealing interface

## Dependencies

AdventureGame relies on the following dependencies:

- [inquirer](https://www.npmjs.com/package/inquirer): A powerful library for handling interactive command-line prompts.

## How to Use

1. Choose actions from the presented list during encounters.
2. Engage in battles, use health potions wisely, and strategize your moves.
3. React to randomized events like enemies dropping bombs or health potions.
4. Decide whether to continue fighting or exit the game.
5. Explore various enemy types and experience different scenarios in each battle.

## Installation & Usage

1. Clone the repository: `git clone https://github.com/mubeendev3/typescript-projects.git`
2. Change into the project directory: `cd 11-AdventureGameProject`
3. Install dependencies: `npm install`
4. Compile the Adventure Game CLI into .js by using this command : `tsc`
5. Run the game.js file using: `node game.js`
6. Follow the prompts to enjoy the game!.

## Example

```bash
npx mubeen-adventuregame
```

## Issues

If you encounter any issues or have suggestions, please report them on the [GitHub repository](https://github.com/mubeendev3/typescript-projects/issues).

## Follow Me:

🌐 Connect with Mubeen on [LinkedIn](https://www.linkedin.com/in/mubeendeveloper/)<br>
🐙 Explore Mubeen's projects on [GitHub](https://github.com/mubeendev3)<br>
📸 Follow Mubeen's creative journey on [Instagram](https://www.instagram.com/mubeendeveloper/)<br>
🐦 Stay updated with Mubeen on [Twitter](https://twitter.com/mubeendeveloper)<br>
🎨 Discover Mubeen's design portfolio on [Behance](https://www.behance.net/pixuro)<br>

---
_Source: https://npm.io/package/mubeen-adventuregame · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
