Posted May 05, 2022
dtgreene: Some games actually fudge the rolls to make the game's perceived accuracy fit more with what a person would be expecting rather than how randomness actually works.
eric5h5: Yes, a fairly common technique is a "shuffle bag"...let's say you have random numbers, 1-10, so the program takes the set of 10 numbers, shuffles them randomly, then deals them out in order. When you go through them all, you do it again. If that were applied to X-Com, a 95% hit chance would always miss exactly once every 20 shots; you just wouldn't know which turn it would miss. It would still be possible to miss twice in a row (if the shuffle resulted in the miss being on turn 20 one run-through, and then on turn 1 the next), but never more than that.
(Incidentally, it's been proven that, with this randomizer (called 7-bag since there are 7 block types), it's theoretically possible to play forever; with each piece being independently randomized it's not because you'll eventually get too many S and Z pieces that you can't fully clear.)
Edit: Ultima 4 NES does this with the player's ranged attacks, preventing missing streaks. (The player's melee attacks always hit.)
Post edited July 22, 2022 by dtgreene