1.0.3 ā¢ Published 1 year ago
mubeen-adventuregame v1.0.3
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
- Choose actions from the presented list during encounters.
- Engage in battles, use health potions wisely, and strategize your moves.
- React to randomized events like enemies dropping bombs or health potions.
- Decide whether to continue fighting or exit the game.
- Explore various enemy types and experience different scenarios in each battle.
Installation & Usage
- Clone the repository:
git clone https://github.com/mubeendev3/typescript-projects.git
- Change into the project directory:
cd 11-AdventureGameProject
- Install dependencies:
npm install
- Compile the Adventure Game CLI into .js by using this command :
tsc
- Run the game.js file using:
node game.js
- 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