Index:
[thread]
[date]
[subject]
[author]
From: Michael Abernethy <mna@duke.edu>
To :
Date: Wed, 24 Mar 1999 13:25:17 -0500
Re: strategies
>
> 2. It seems that the playRound function in PigPlayer should be passed
> the total score because otherwise the player will possibly keep playing
> the last round not knowing that he has reached 100 or whatever the
> final score is.
>
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.
Mike Abernethy
www.duke.edu/~mna
IBM Club Cyberblue - www.cybrblu.ibm.com
Index:
[thread]
[date]
[subject]
[author]