mubeen-adventuregame

1.0.3 • Public • Published

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: 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

npx mubeen-adventuregame

Issues

If you encounter any issues or have suggestions, please report them on the GitHub repository.

Follow Me:

🌐 Connect with Mubeen on LinkedIn
🐙 Explore Mubeen's projects on GitHub
📸 Follow Mubeen's creative journey on Instagram
🐦 Stay updated with Mubeen on Twitter
🎨 Discover Mubeen's design portfolio on Behance

Package Sidebar

Install

npm i mubeen-adventuregame

Weekly Downloads

2

Version

1.0.3

License

ISC

Unpacked Size

28.5 kB

Total Files

5

Last publish

Collaborators

  • mubeendeveloper