Coin Flip · 6 min read
How Casinos and Game Shows Use Randomness — and Why You Can't Beat It
Casinos engineer randomness to guarantee long-run profit. Game shows use randomness to create suspense and fairness perceptions. Here is the mathematics behind both — including the famous Monty Hall problem.
The Casino Model: The House Edge
Casinos do not cheat. They do not need to. The mathematics of their games guarantee profit over time through a mechanism called the house edge — a small but consistent advantage built into every game's payout structure.
The house edge is the percentage of each bet that the casino retains on average over many plays. Examples:
- European roulette: 2.7% (one zero wheel)
- American roulette: 5.26% (two zeros)
- Blackjack (optimal play): 0.5%
- Slot machines: 2–15% (varies by jurisdiction and machine)
- Keno: 20–35%
A 2.7% house edge in roulette means: for every $100 bet, the casino retains $2.70 on average. Individual players win and lose randomly, but over millions of spins, the casino's return approaches this mathematical expectation with near-certainty. The law of large numbers guarantees the casino's profit over time.
Random Number Generators in Casinos
Physical casino games — roulette, craps, card games — use mechanical randomness: the spinning wheel, the tumbling dice, the shuffled deck. Modern slot machines and video poker machines use Random Number Generators (RNGs) — computer algorithms that produce sequences of numbers that are statistically indistinguishable from random.
Casino RNGs are typically hardware-based (HRNG) — using physical processes like electronic noise or radioactive decay to generate true randomness — rather than purely algorithmic (PRNG), which are deterministic and could in theory be predicted if the seed value were known. Regulatory agencies (the Nevada Gaming Control Board, the UK Gambling Commission) audit casino RNGs to verify statistical randomness and correct return-to-player rates.
The return-to-player (RTP) percentage on a slot machine — the opposite of the house edge — is programmed into the RNG's payout table. A machine with 95% RTP returns $95 for every $100 put in on average. Individual sessions can produce wins far above or below this; the 95% figure is a statistical guarantee over millions of plays.
Why Card Counting "Works" — And Why Casinos Ban It
Blackjack is the one mainstream casino game where skilled play can eliminate or reverse the house edge. Card counting — tracking the ratio of high to low cards remaining in the deck — allows a player to identify when the remaining deck favours the player and increase their bet at those moments.
Ed Thorp's 1962 book Beat the Dealer proved mathematically that card counting could give players a small positive edge. Card counting is not illegal (it is using information that is publicly available to all players at the table), but casinos prohibit it and may ask known counters to leave.
The casino's response was to increase the number of decks used (making counting harder), shuffle more frequently (eliminating the advantage of a depleted deck), and use automatic shuffling machines that continuously shuffle cards (eliminating counting entirely). The arms race between counters and casinos illustrates that casinos' profit depends on maintaining genuine randomness — once a pattern can be exploited, the house edge disappears.
The Monty Hall Problem: Counterintuitive Probability
No discussion of randomness in game shows is complete without the Monty Hall problem — the most famous counterintuitive probability puzzle in mathematics, based on the game show Let's Make a Deal.
The setup: three doors, one car, two goats. You choose a door. The host (who knows where the car is) opens one of the remaining doors, revealing a goat. You are then offered the choice to switch to the other unopened door or stay with your original choice. Should you switch?
The mathematically correct answer: yes, always switch. Switching wins the car 2/3 of the time; staying wins only 1/3 of the time.
The explanation: when you first choose, you have a 1/3 chance of being right. The host's action (revealing a goat) does not affect this probability — it is already determined by your initial choice. The remaining door "inherits" the 2/3 probability that was distributed across the two doors you did not choose. By switching, you are effectively betting that your first choice was wrong — which it was, 2/3 of the time.
When Marilyn vos Savant published this solution in Parade magazine in 1990, she received thousands of letters from mathematicians and academics insisting she was wrong. She was right. The problem illustrates how deeply human intuition misunderstands conditional probability.
Game Show Randomness: Fairness vs. Drama
Modern game shows balance genuine randomness with production needs. Fully random outcomes create boring television — a show where contestants randomly win or lose provides no narrative arc. Game shows are designed to create suspense, close calls, and memorable moments.
This creates a tension with genuine randomness. Many game shows use randomness-like mechanisms (shuffled cards, spinning wheels, random draws) that are genuinely random but are constrained to produce balanced outcomes — ensuring that different contestants encounter roughly equivalent difficulty levels across episodes.
Regulatory requirements for game shows that qualify as lotteries under gambling law mandate genuine random selection of winners. Production choices that make outcomes feel more dramatic — staging, editing, music — must not compromise the randomness of the actual selection mechanism.
References
- Thorp, E.O. (1962). Beat the Dealer. Blaisdell Publishing.
- Ethier, S.N. (2010). The Doctrine of Chances: Probabilistic Aspects of Gambling. Springer.
- vos Savant, M. (1990). Ask Marilyn. Parade Magazine.
- Selvin, S. (1975). A problem in probability. The American Statistician, 29(1), 67.
- Nevada Gaming Control Board. (2023). Gaming revenues. gaming.nv.gov.