Data Structures Final Project
The program is a single-player text game, where the player must get from
Boulder to DisneyLand. They player is a struct to keep track of coins and lives.
The player travels along a double linked-list. Each node on the list is a struct
with different information about what happens to the player at the node.
The game is a class with different functions to roll the die, move the player, get
information on each node, and change the lives and coins that the player has. The game
finishes once the player is at DisneyLand, has run out of lives, or quits the game.
To play the game, download the driver, class, and header files. Run the program and
follow the instructions in the terminal.
Make sure Game.cpp, FinalProject.cpp, and Game.h are all in the same location.
Compile in terminal using: g++ Game.cpp FinalProject.cpp –std=c++11
Run in terminal using: ./a.out
How to play:
Follow the computer’s questions.
Answer the questions with yes or no answer.
The goal is to get to Disney land with a positive amount of money.
There are no dependencies.
This program is designed for Linux and uses the g++ compiler and C++11.
Michelle Ferrall and Aubree Lytwyn
Contributors will be finalized after phase 3.
This will be completed after phase 2.