bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Export dice rolls to file


From: Nardy Pillards
Subject: Re: [Bug-gnubg] Export dice rolls to file
Date: Sat, 23 Aug 2003 12:57:20 +0200

>  Is it possible to export a reproducible (using the same seed)
> set of dice rolls into a file? A certain person in RGB has challenged
> me to win every game in a match using a list of pre-rolled dice that
> only I would know (so yes, I could see all the dice rolls in advance,
> including his), but that he could verify afterwards. The person would
> like this to be done using the Mersenne Twister. 
> 
>       Albert

Once you have a .sgf file, the two characters after ;B[ and ;[W are 
the dice roll.

Start gnubg, set RNG and seed you want.
Let gnubg play gnubg unlimited match, until you are satisfied with 
number of rolls.
The saved .sgf file, 4th and 5th character of each ;B[ or ;[W line - 
if numeric - are the dice rolls.

Nardy





reply via email to

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