[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Suggestion for where to look for a bug

Posted By: Havard Raddum
Date: Tuesday, 29 September 2009, at 8:47 a.m.

In Response To: Suggestion for where to look for a bug (Michael Petch)

The doubles seem to appear almost with exactly half the probability they should. If the hypothesis, that the code that discards doubles on the first roll also is used at other times, is true, one could maybe see a pattern of when there never occurs any doubles. One theory that should be easy to verify/falsify given your samples is the following:

Assume that the if-statement for checking whether this is the first roll of the game (say, roll 0) or not is wrongly implemented and only checks if the least significant bit of the number of the roll is 0, one would never see doubles on the even numbered rolls. Is this true? Or can you see any other pattern of when doubles do/don't occur?

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.