Giter Site home page Giter Site logo

pursuit-core-web-text-based-adventure-project's Introduction

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: ")

    pursuit-core-web-text-based-adventure-project's People

    Contributors

    benstone1 avatar kiara-edwards avatar

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.