Homework 5, Playing the game.

Short Description:

Modify the existing dandyland.cpp file to allow the player to play the game.

This assignment is worth 20 points.

Goals

When you finish this homework, you should have:

Formal Description

  1. [15 points] The current implementation of dandyland is just a shell. Implement a user interface and the game logic that allows the user to play this game.

    The building section will be addressed in a future assignment. For now use the following rules

  2. [10 points] Add a logger to the game. Allow the user to set the logging level in the main menu. The logger should be a singleton class and implemented as discussed in class. Modify all output except required user interaction (menu, questions, ...) to use the logging system. You may use string streams if you wish.

  3. [5 points] Modify all classes to use ctor constructors or initialize class data members where appropriate.

Required Files

A single tar file containing the source code and makefile for this program.

Submission

Submit your tar file to the D2L homework folder Homework 5 by the due date.