CS 102 (Spring 2003)
Lab 6a: Whack-A-Mole (Part a)


Author: Ron K. Cytron and David Jurgens
Lab Assigned Design Due
(In class)
10 AM
Implement
(In Lab)
Wednesday
Demo
(In Lab)
Wednesday
Lab Due
(In lab)
Wednesday
1 Apr 2 Apr 9 Apr 9 Apr


Overview:

In this lab you will develop some software components based on the lecture material. These components will be incorporated into a client/server multi-user game in the ensuing weeks.

While in future weeks you may work with a partner, for this section you are to submit your own work. You are free to discuss implementation strategies with colleagues, but the work you turn in is to be your own.


Goals:

By the end of this lab, you should

Before starting:

[[[ Download PC zip if you have not started]]]
[[[ Download PC zip for demo classes]]]
Zip includes:

Complete the classes as described in the JavaDoc.

The Queue class is not documented, but there is a test included in that file (just run the file), so you can see how it works. A thread that tries to dequeue an object blocks until some object shows up in the queue.


What to turn in:

  1. A code cover sheet.
  2. Any Java files you have created or modified for this part.


Last modified 12:38:05 CDT 08 April 2003 by Ron K. Cytron