buggnubg - Bugs: bug #43475, Dice throws appear not random

 
 

bug #43475: Dice throws appear not random

Submitter:  None
Submitted:  Sat 25 Oct 2014 05:59:05 PM UTC
   
 
Originator Name:  Arthur Schwarz Originator Email:  * -email is unavailable-
Item Group:  Feature Request Category:  Rollouts
Release:  * 1.03-Release Privacy:  Public
Operating System:  Windows 7 Severity:  3 - Normal
Open/Closed:  Closed Assigned to:  None
Priority:  5 - Normal Status:  Invalid
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Oct 2014 06:22:10 PM UTC, comment #1: 

GNUbg has a variety of random number generator options that can be selected via "Settings" menu, "options" and the "dice" tab. GNUbg defaults to Mersenne Twister that has a period of (2^19937 − 1) and is well tested and studied. GNubg also allows one to see Mersenne with any value between 0 and (2^19937 − 1). I have done statistical studies of the the dice over billions of rolls using Mersenne (computer vs computer) and the results show that for runs of doubles, doubles, dancing from the bar, entering from the bar, raw counts, average pipcount etc all suggest that the source we have is indistinguishable from a truly random source.

We also support short period (32 bit) ANSI (which I don't recommend), Blum Blum Shub, md5, and ISAAC PRNG's. We also support reading rolls from a file, manual entry of dice, and getting dice from www.random.org (which isn't a PRNG) - their numbers are generated from the entropy associated with atmospheric noise. One can read more about the history of random.org here: http://www.random.org/history/

We also code the dice generator to avoid modulo bias.

Michael Petch <mdpetch>
Group administrator
Sat 25 Oct 2014 05:59:05 PM UTC, original submission:  

The frequency of doubles seems to be too high. I think a better pseudo-random number generator should be used. There are several with longer periods than 2^32 that are used in simulation. I don't think I have the source or I'd experiment with them myself.

But, the playing is excellent. Amazing how many miracle rolls the computer gets.

art

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mdpetch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-29 mdpetch Open/ClosedOpen Closed
        StatusNone Invalid

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code