π» Unit 2 Project: Choose-Your-Own Adventure
Overview
π₯ PROJECT SETUP & SUBMISSION INSTRUCTIONS
- Go to the
CS2 Unit 2 Project
assignment on Blackbaud and follow the provided GitHub Classroom link.π Clicking the link generates a private repository for your project with the appropriate starter code. Note that projects are stored within the BWL-CS Organization, so you cannot access it from the βYour Repositoriesβ page!
- Open the repository in a Codespace whenever you spend time working on the program, in class or at home.
β οΈ Always remember to
commit changes
after every coding session! - When your project is complete, submit the link to your repository in the
CS2 Unit 2 Project
assignment on Blackbaud.
One of the first games coded for early computers in the 1970s was called Colossal Cave Adventure. It was a text-based interactive fiction game where you had to make your way through an elaborate cave. The program only understood one word or phrase commands like north, south, enter, take, etc.
You can try playing adventure recreated online following some of the commands in this walkthrough. Part of the challenge is finding the commands that the code will understand.
In a game like Adventure, if
, else if
, and else
statements can be used to respond to commands from the user like n
, s
, e
, w
.
Part A:
1. Section
- Steps