Hacker News new | ask | show | jobs
by jack_pp 1393 days ago
How is that supposed to help? A bad run is a bad run no matter the randomizer. Also cards need to be shuffled which wastes time if done correctly
1 comments

A deck of cards behaves the way the gambler's fallacy expects everything to behave: after enough bad luck, you're sure to get a good result.
I've taken to calling that the gambler's fallacy fallacy: the misapprehension that a randomness can only arise in situations where the events are uncorrelated. The randomness in Tetris is another good example: when you think you're due for an I, you actually are.
Tetris actually uses two entirely different algorithms, one classic and one modern. Classic is randint(1,7), modern is shuffling "decks" of the 7 pieces and repeating.