Index: [thread] [date] [subject] [author]
  From: Carl Knerr <crk5@duke.edu>
  To  : 
  Date: Tue, 23 Mar 1999 21:36:26 -0500

Re: pig

I may be mistaken but it seems that in order to implement a "strategy" we
need to make something similar to the example code in PigGame.java, not
PigPlayer.java.  Am I understanding this correct?

"Robert C. Duvall" wrote:

> >  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

--
Carl Knerr
"Proof of two long-held assumptions:
1) Fans can make a difference.
2) Even smart people can act like idiots."
 - Sports Illustrated on the Cameron Crazies (8/10/98)
 http://www.duke.edu/~crk5




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