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: Jim Segrave
Subject: Re: [Bug-gnubg] Export dice rolls to file
Date: Sat, 23 Aug 2003 11:59:16 +0200
User-agent: Mutt/1.4.1i

On Thu 21 Aug 2003 (17:23 -0300), Albert Silver wrote:
> Hi,
> 
>       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. 

There's no direct provision, but I can certainly pull the relevant
bits out of gnubg to make a standalone program which, given a seed and
a count, will write <count> rolls to stdout:

c:\ >dicerolls 12345678 10
63
51 
21
33
42
56
45
22
41
32
c:\>

So you'd do 
C:\ dicerolls 12345678 5000 > murat.dice

It's too much work to put the whole thing under the gui.

-- 
Jim Segrave           address@hidden





reply via email to

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