Choose your own adventure game

Choose your own adventure game

Write a choose your own adventure game. Keep it limited in scope (since this is just a warmup), and have a few different possible storylines for the user to follow.

Use the npm readline-sync package to get input from the user. In terminal, from the directory of your project:

npm install readline-sync

At the top of your .js file:

var readline = require("readline-sync");