This project was built with javascript as a text based adventure game that you can play in terminal!
My Trello project link: Trello
Instructions to run this code:
- Git clone this repo
- Open up the code in VSCode or your choice of IDE
- Run npm install to install dependencies that this project uses
- Run node textBasedAdventure.js
- Play!
console.log("Hello there! Welcome to Narnia!")
if (readlineSync.keyInYNStrict("Would you like to explore the world of Narnia? (Please type Y or N)")) {
play()
}
else {
leaveGame()
}