csci 20 :: programming project 2 (due by midnight on friday, apr 21)
Submitting your work:
Complete this exercise on your own.
Solve the problem described below by designing, implementing, and testing a
C++ console application.
Email your source file (main.cpp) to the instructor at email@example.com before
The purpose of this project is to give you an opportunity to design and implement
a program organized using functions. You are encouraged to use structs and vectors,
as needed, to organize and manage program data.
For this project, you will implement a simple text adventure game. It is highly recommended that you draw out your game map on paper, and do some planning for your game, before you start writing any code.
- use CinReader to handle all inputs
provide your players with a minimum of four (4) "rooms" (each represented as a function)
for your player to visit
include "items" that the player can pick up -- the items should serve some purpose in the game (such as a key that opens a door, or a flashlight that lets the player "see" in darkened rooms, etc.)
implement a minimum of two (2) variables of player data that give the player a sense of accomplishment or progress in the game (such as health, or money, or experience points, etc.)
implement at least two (2) ways that the player can interact with the game (such as moving from one room to another, picking up an item, using an item, etc.) -- you must have a menu or menus that allow the player the appropriate options, depending on their situation
- technical requirements:
[25 points] your program source code must be documented correctly (see
the starter example)
[25 points] uses CinReader to handle
all user keyboard inputs
[25 points] your program source code must be neatly and consistently formatted
- [25 points] your program must compile and run without errors
[50 points] minimum two (2) variables to measure player progress and/or success
[50 points] minimum two (2) ways that the player can interact with the game
[100 points] "items" that can be "picked up"
[200 points] minimum four (4) "rooms" as functions
Total points for this programming project: