In this Program a user is able to interact with a command line role playing game (RPG). In which the user battles a series of enemies and both the enemies and your health stats can be sustained through the use of potions.
Download
this file into your local machine and open with vs-code.- Open the terminal in the files root directory and type
npm install
. - After installing, type
node app.js
to start the command line RPA.
- The file should be open in vs-code along with a terminal in the root directory.
- In the terminal type
npm run test
. - The terminal should show weather all the tests passed or failed.
- JavaScript
- Node.js
- jest npm