| |
BGonline.org Forums
Clocks + Random Dice Generator ?
Posted By: MaX In Response To: Clocks + Random Dice Generator ? (Tom Keith)
Date: Monday, 14 September 2009, at 9:29 a.m.
Tom wrote: * There is still a potential for cheating with MaX's system. If the seeds are too small, the number of possible dice sequences is limited. Suppose each person entered a 4-digit PIN. If you know one PIN, then there are only 10,000 possibilities for the other pin and 10,000 possible dice sequences the machine can generate. If you have a friend entering those dice rolls into a computer as they are revealed, the friend's computer could compare all 10,000 PINS against the actual sequence of rolls and, after a half dozen rolls or so, narrow down unknown PIN and therefore the sequence of upcoming rolls.
Yeah, this could be a problem: the fact that if genration can be done quickly, then you could try a search approach (i.e. generating all/some sequences and trying to match the current one). Without talking about smarter ways of doing the same.
An expert in the field would be of help here, but I think that if the state space of the generator is large enough compared to the length of the "visible" sequence, the search approach would be difficult. In BG luckily we don't need that many rolls and, in case, we could restart the generator (e.g. after every game).
MaX.
P.S. Wikipedia states that Mersenne Twister is not suitable since in its most common implementation, you just need to observe 624 iterates to be able to predict the future ones (and that not knowing anything about the initial seed, if you partially know it,that could be worse). However, other generators suffers much less from this problem.
| |
BGonline.org Forums is maintained by Stick with WebBBS 5.12.