CSCI 201

Fall 2001

Assignment 4


Overview

You are given a zipped project folder as your starting point for this assignment; select this link to access that archive file. When you unzip the file, you will find a project folder containing the following:

The purpose of this program is create an ASCII (i.e., text-based as opposed to graphics-based) version of a totem pole. Your totem pole must consist of four or more "heads" where each head is created from a combination of facial features. The interface FaceFeature specifies the methods that must exist in each implementation of a facial feature. The Hair class is provided as an example of a class that implements a facial feature.

Your Task

Your job is to complete the totem pole. To do so, you must implement the remaining facial features required to create a head, and then produce a totem pole that displays at least four different heads (i.e., each head must have different facial features).

The required facial features are:

Each class implementing a facial feature must be created as an implementation of the FaceFeature interface. (Notice that the Head class is also an implementation of the FaceFeature interface.) Also remember that each face in the totem pole must be unique, therefore the facial features that you create should allow for more than one configuration (see the Hair class as an example).

What to Turn In

Turn in the source code for all files used to create the totem pole:

Remember that the files you turn in must have exactly these names. You were shown how to transfer files to your class ftp directory in lab 1, here is a quick refresher.