Index: [thread] [date] [subject] [author]
  From: Robert C. Duvall <rcd@boomslang.i-did-not-set--mail-host-address--so-shoot-me>
  To  : 
  Date: 22 Mar 1999 18:59:11 -0500

Re: pig

>  Are we to write a progam that will load different pig players and that 
> uses the PigPlayer interface?

You are to write a Dice class and a class that implements the
PigPlayer interface.  Nothing more or less (unless you are doing the
extra credit).

> Meaning, is it our job to write the "contest" program, or will you
> (Prof.) do that.

I will write the contest program (unless people feel this assignment is
too easy, in which case, I will make it an additional requirement :)

I copied the interface (and fixed one typo) and provided some test
code in ~rcduvall/cps108/pig.  Once you have implemented a Dice class,
it should compile bby just typing javac *.java.  You can then run the
test by typing java PigGame.

Hope this helps,
rcd


-- 
Robert C. Duvall
Lecturer, Duke University
rcd@cs.duke.edu


Index: [thread] [date] [subject] [author]