Index: [thread] [date] [subject] [author]
  From: Justin Caton <jmc10@duke.edu>
  To  : 
  Date: Wed, 24 Mar 1999 21:08:11 -0500

Re: strategies

> I don't think this should be a problem.  I managed to add some code
that
> figured out when the score was >= 100 even in the middle of a round
and
> then would quit the round, knowing that it has won.

Thats what I did but I figured since the PigGame class used an
environment
variable to store the max score it shouldn't be hardcoded in another
place.
Then if you changed the PigGame.WINNING_SCORE you would also
have to change it in the PigPlayer implementation.



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