[Top][All Lists]

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

Re: [Bug-gnubg] There is something funny with the dice

From: Joern Thyssen
Subject: Re: [Bug-gnubg] There is something funny with the dice
Date: Mon, 19 Apr 2004 07:54:34 +0000
User-agent: Mutt/

In-Reply-To: <address@hidden>
X-Location: Europe, Denmark, Aalborg
X-Mailer: Mutt http://www.mutt.org/
X-URL: http://jth.freeshell.org/ http://www.gnubg.org/
X-Public-Key: http://jth.freeshell.org/pubkey_jth.asc
X-Key-Server: http://www.keyserver.net

On Mon, Apr 19, 2004 at 01:22:37AM +0200, Ã?ystein Johansen wrote

Didn't you read my reply to Erik?

> > The dice sequence for Mersenne twister with seed 0 is:
> >
> > 54, 13, 55, 52, 33, 65, ...
> >
> > which is the sequence Erik gets.
> >
> > So somehow the seed was set to zero. This can happen in two
> > different
> > ways:
> >
> > (1) by doing a one-sided rollout (e.g., by opening the race theory
> > window)
> > or
> > (2) by doing a rollout with seed 0

I'm guessing you experience the same problems.

> I'm having the same game several times in a row now. I'm using the MT
> dice generator, and the game is the same several games.
> When I go to Settings->Options->Dice, the seed is set to 1082329984,
> but
> is it really?
> If I press the down arrow of the seed spinner, it goes down to
> 15999999.
> ~ And if I select the number in the seed box, 1082329984, and then
> hold
> down the Cancel button, 16000000 appears in the seed box.
> I therefor have a suspicion that the seed is actually set to 16000000
> in
> all these games where I get the same dice. Have anyone seen the same?

Yes, see my reply to Erik.

Note that the RNG is only seeded when you do "set rng ..", "set seed
..", "set rollout seed ..", and "show onesided". You must have issued
one of these commands to reset the seed.

Try using an RNG different from MT; now only the commands "set rng .."
and "set seed .." will seed the RNG.


Attachment: pgp1cb6JZ2FRe.pgp
Description: PGP signature

reply via email to

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