csci 20 :: programming project 4 (due by midnight on friday, may 20)
Submitting your work:
Complete this exercise on your own.
Solve the problem described below by designing, implementing, and testing a
C++ console application.
Email all of your source files to the instructor
at firstname.lastname@example.org before the deadline.
View a sample of the running program by downloading and running the
example (Windows; Mac).
The purpose of this project is to give you an opportunity to continue practicing the
- defining classes and creating objects
- separating class header and implementation files
- managing an array in a class
- managing a vector in a class
- using inheritance
- using initializations lists in constructor implementations
For this project, you will implement a text-based adventure game. We will look at a few
examples of text-based adventure games in class, so do not worry if you have not played
or seen this type of game before.
Your game must meet the following minimum requirements:
- use inheritance
- use initialization lists
- manage an array in at least one class
- manage a vector in at least one class
- separate all of your header and implementation files (.h and .cpp files)
Looking for ideas, inspiration, or just need to try a text adventure game for the first time?
Try these websites ("Colossal Cave Adventure" is considered the first computer text adventure):
- design and implement an object-oriented program using inheritance
- declare a class that manages an array
- declare a class that manages a vector
- separate header and implementation files (.h and .cpp)
- technical requirements:
your program source code must be documented correctly (see
the cpp_starter.txt example)
your program source code must be neatly and consistently formatted
- your program must compile and run without errors [25 points]
use CinReader to handle all user keyboard
inputs [25 points]
- feature requirements:
- [50 points] use inheritance
- [50 points] use initialization lists
- [75 points] manage an array in at least one class
- [75 points] manage a vector in at least one class
- [50 points] separate all of your header and implementation files (.h and .cpp files)
- [100 points] a playable game
Total points for this programming project: