4 ms·
1. Rerolling the dice is still a faster (and thus better) way of solving this problem. Ah, but it's not guaranteed to terminate.
by hugh 18y ago
1. Rerolling the dice is still a faster (and thus better) way of solving this problem.
Ah, but it's not guaranteed to terminate.
- litewulf 18y agoFrankly, if I discovered that a pair of die were summing to seven, it would be more fun to roll over and over than actually playing a game.
- jrockway 18y agoStatistically, as the number of times the dice have been rolled approaches infinity, a near-infinite string of 7s becomes exceedingly likely. However, a short time before that, a meteor comes in through your window and knocks you unconscious... and oh yeah, the sun explodes. Damn the laws of probability!
- time_management 18y agoFrom a game designer's perspective, termination with probability 1 and certain termination are considered to be identical.