Skip to content

mjtedder/ResidentEvilNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resident Evil Node

| Node.JS | Inquirer.js |

A CLI zombie RPG built with Node.js and Inquirer.js

Travis npm repo-size

Installation

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

How To Play

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.

Errors and bugs

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.

Patches and pull requests

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 and attribution

Copyright (c) 2018 fully_coded.

git remote add origin https://github.com/mjtedder/ResidentEvilNode.git git push -u origin master

About

A command-line zombie RPG built with node.js and inquire npm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors