| Node.JS | Inquirer.js |
A CLI zombie RPG built with Node.js and Inquirer.js
To run the application locally, first clone this repository with the following command:
git clone https://github.com/mjtedder/ResidentEvilNode.git
Next, install the application dependencies:
* cd your/path/to/ResidentEvilNodeclone
* yarn install or npm install
* run 'node start' to begin the game
In this game, you are Leon S. Kenney and you will square off against Mr. X. Each will be given a certain amount of health.
For each round, you will be asked to guess a random number between 1 and 5. If your guess matches the random number of the enemy -- your character inflicts a random amount of damage between 1 and 5. If your guess does not match the random number of the enemy -- they will inflict a random amount of damage to your character between 1 and 5. Each round the enemy is given a new random number and you must guess again.
The game ends when Leon or Mr. X gets to 0 health.
If something is not behaving intuitively, it is a bug and should be reported. Report it here by creating an issue: https://github.com/mjtedder/ResidentEvilNode/issues
Help us fix the problem as quickly as possible by following Mozilla's guidelines for reporting bugs.
Your patches are welcome! Here's our suggested workflow:
- 🍴 Fork the project.
- Make your feature addition or bug fix.
- Send us a pull request with a description of your work. Bonus points for topic branches!
Copyright (c) 2018 fully_coded.
git remote add origin https://github.com/mjtedder/ResidentEvilNode.git git push -u origin master