Discussion:
A4Q3 A question about the seed
(too old to reply)
Alfred Chan
2011-07-07 21:42:06 UTC
Permalink
"seed is the seed for the random number generator, in the range [1. .N]"

What exactly is the value N? Is it the number of players, a maximum
value that the random number generator takes (if so, what's it?
MAX_INT?), or otherwise?
Terry Anderson
2011-07-07 23:11:34 UTC
Permalink
You should make sure that any seed value specified on the command line is
a valid int value greater than 1.
--
Terry Anderson
CS 246 Instructor
Post by Alfred Chan
"seed is the seed for the random number generator, in the range [1. .N]"
What exactly is the value N? Is it the number of players, a maximum value
that the random number generator takes (if so, what's it? MAX_INT?), or
otherwise?
Loading...