TEXT-BASED ZOMBIE ADVENTURE GAME
#Build Instructions Compile and run the program by typing the following commands in the terminal:
make
./Infected
#Game Play Step through the game by typing in one of the listed options and pressing the ENTER key. For example:
You awaken in a car submerged in water. Your air is running out rapidly... How should you escape? a. Try to open the door b. Try to roll down the windows. c. Try to break the window. d. Do nothing.
If the user would like to choose the "Try to open the door" option, he/she simply needs to type the "a" key and press enter.
#General Information If the developer desires to modify the code in the future, the provided story.txt file can be modified later by following the correct formating.
The format used for the story.txt file is the following:
- An underscore represents the spaces between words.
- The plus sign represents the end of a line.
- The at symbol (@) represents the end of the list of questions.
- Questions should be formatted as 4 digit numbers. For example, question 1 should be 0001.
- An arrow(->) indicates the question that the answer choice will jump to.