mh20-adventure-game
v1.0.0
Published
* This project is a text-based, CLI adventure game built with Typescript. It utilizes the Inquirer library for user input and the Chalk library for styled console output.
Downloads
2
Readme
Text based and CLI based Adventure game
- This project is a text-based, CLI adventure game built with Typescript. It utilizes the Inquirer library for user input and the Chalk library for styled console output.
Features
- User selects an enemy to fight.
- Basic combat mechanics with attack options.
Installation
Clone this repository. Navigate to the project directory. Run npm install to install required dependencies.
Dependencies
Inquirer: for user input (https://www.npmjs.com/package/inquirer) Chalk: for styled console output (https://www.npmjs.com/package/chalk)
Running the Game
Make sure you have Node.js and npm installed. Open a terminal. Run "npx mh20-adventure-game" start the game.
Development
Feel free to modify the code in the src directory to customize the game experience. Here are some areas for improvement:
Add more enemy types with varying difficulty. Implement a health system for the player and enemy. Expand combat mechanics with attack and defense options. Introduce story elements and world exploration.