eriksoncastro / Pursuit-Core-Web-Text-Based-Adventure-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-Based-Adventure

Instructions for lab submission

  1. Fork the assignment repo
  2. Clone your Fork to your machine
  3. Complete the lab
  4. Push your changes to your Fork
  5. Submit a Pull Request back to the assignment repo
  6. Paste a link to your Pull Request (not your fork!) on Canvas and submit

Lab

This lab will build on the skills that you've learned after your first couple weeks of programming in JavaScript! You will build a command line application that plays a text-based adventure game. Look here and here for a couple examples of the genre. Be creative with your app. Apps will be evaluated by the following criteria:

App requirements:

  • Your command line app must build and run with no compiler errors or warnings
  • Have at least 10 opportunities for the user to make decisions
  • Have at least one opportunity where the user will enter a number
  • Use both Switch statements and If/Else Statements
  • Use a for loop in your code
  • Use a while loop in your code
  • Rubric

    textBasedAdventureRubric.png

    Hints:

    • This project imports a special module called readline-sync that allows the user to enter input to the terminal

    • The line at the top const readline = require('readline-sync') gives you access to this functionality

    • Use the following line to get user input:

    let yourVariableHere = readline.question("Enter your name: ")

    About


    Languages

    Language:JavaScript 100.0%