Index:
[thread]
[date]
[subject]
[author]
From: Jason Grosland <jcg3@cs.duke.edu>
To :
Date: Sun, 28 Mar 1999 12:54:04 -0500
Re: Number of Sides to the dice
On Sun, 28 Mar 1999, Ted Hung wrote:
> How many sides are there supposed to be to the dice that we are rolling.
> Right now, I have the value stored as a value as PigGame.DICE_SIDES.
> Is this alright. We did the same thing for the winning score and as
> PigGame.WINNING_SCORE.
This is a good idea. You can assume that the game will be played with a
six sided dice (die?), and you play to 100. Using constants like above is
a good idea-- who knows when you'll be asked to play pig with a 12 sided
die?
...jason
- By all means, think outside of the box. -
- Just put everything back when you're done. -
Index:
[thread]
[date]
[subject]
[author]