[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug: Race theory, dice seed

From: Jon Kinsey
Subject: Re: [Bug-gnubg] Bug: Race theory, dice seed
Date: Wed, 01 Oct 2003 08:28:33 +0100

At 07:39 01/10/2003, Joern Thyssen wrote:
On Tue, Sep 30, 2003 at 08:50:49PM +0200, Holger wrote
> At 15:02 30.09.2003, Joern Thyssen wrote:
> >On Tue, Sep 30, 2003 at 10:47:47AM +0000, Joern Thyssen wrote
> >> On Mon, Sep 29, 2003 at 09:46:13PM -0400, Christopher D. Yep wrote
> >> >
> >> > What is probably happening is that invoking the race theory window
> >causes
> >> > gnubg to set the dice seed to some given value.
> >>
> >> Yes, the one sided rollout sets the dice seed.
> >
> >The one sided rollout uses the Mersenne Twister RNG, so it only affects
> >those who use that.
> >
> >You'll observe the same kind of problem if you do a rollout with the
> >same RNG as you use for playing.
> Would it be possible to use a second instance of the RNG for other things
> then play so they don't disturb each other? (I mean, does the RNG code
> support this?)

gnubg supports a number of RNGs. I guess some of them support multiple
instances, but others don't (e.g., BSD, ansi, and others).

It should be quite easy to add another Mersenne Twister RNG, which could be used in all the non-playing areas.
If that is the only RNG the roll-out/theory code needs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]