@ikhlasbano/adventure-game
v2.1.0
Published
The Adventure Game System is an interactive text-based game built using Node.js and Inquirer.js. Step into a dimly lit dungeon where menacing creatures lurk in the shadows, and your survival depends on your cunning and bravery.
Downloads
7
Readme
Adventure Game System
The Adventure Game System is an interactive text-based game built using Node.js and Inquirer.js. Step into a dimly lit dungeon where menacing creatures lurk in the shadows, and your survival depends on your cunning and bravery.
Features
- Interactive Gameplay: Engage in thrilling battles with various enemies and make strategic decisions to survive.
- Dynamic Enemy Encounters: Encounter different types of enemies with unique abilities and strengths.
- Health Management: Keep track of your health points and utilize health potions strategically to stay alive.
- Continuous Adventure: Choose to continue playing or exit the dungeon adventure at any point.
Installation
- Make sure you have Node.js installed on your system.
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Run
npm install
to install the required dependencies. - Start the game by running
npm start
.
Gameplay Instructions
- Enter your name when prompted to begin the adventure.
- Choose from various actions such as Attack, Drink Health Potion, or Run during encounters.
- Defeat enemies to progress through the dungeon.
- Use health potions wisely to restore health and survive tough battles.
- Decide whether to continue playing or exit the adventure when prompted.
Technologies Used
- Node.js: Asynchronous event-driven JavaScript runtime environment for building the core platform.
- Inquirer.js: Command-line interface library for interactive prompts, facilitating user input.
- Chalk: Terminal string styling library for enhancing the visual presentation of the game interface.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the Adventure Game System.
License
This project is licensed under the MIT License. See the LICENSE file for details.