Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: random book moves/ random generator

Author: Tom Kerrigan

Date: 15:19:28 01/13/00

Go up one level in this thread


On January 13, 2000 at 13:46:48, Robert Hyatt wrote:
>On January 13, 2000 at 11:22:20, Vincent Diepeveen wrote:
>>This is how i do my initialization of random
>>generator as it is in all examples:
>>   srand((unsigned int)time(NULL));
>These random number generators are called "pseudo-random number generators"
>for a good reason.  They are supposed to produce the same series of numbers
>if they are started from scratch.  Otherwise you couldn't debug a program

If you read Vincent's post, it is 100% obvious that he is not starting the RNG
from scratch. (Look at the part that I quoted.)

-Tom



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.