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

 
 

bug #43475: Dice throws appear not random

Submitted by:  None
Submitted on:  Sat 25 Oct 2014 05:59:05 PM UTC  
 
Originator Name: Arthur SchwarzOriginator Email: -unavailable-
Item Group: Feature RequestCategory: Rollouts
Release: 1.03-ReleasePrivacy: Public
Operating System: Windows 7OS Type: 64Bit
Processor Type: IntelSeverity: 3 - Normal
Open/Closed: ClosedAssigned to: None
Priority: 5 - NormalStatus: Invalid

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 http://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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Oct 2014 09:31:28 PM UTCmdpetchOpen/ClosedOpen=>Closed
      StatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1