Start here · Essential guide
How Computers Generate Random Numbers
A plain-language overview of how software produces numbers that behave randomly: algorithms, seeds, physical entropy, testing, and where the limits lie.
Chance and Probability
How random numbers are produced, tested and used.
Start here · Essential guide
A plain-language overview of how software produces numbers that behave randomly: algorithms, seeds, physical entropy, testing, and where the limits lie.
Why random does not mean evenly spread, why machines never catch up, and how streaks, patterns and hot or cold ideas mislead our intuition about chance.
Learn which hardware noise and system events give random number generators their unpredictable input, and why raw measurements need careful processing.
An introduction to the statistical test suites that look for bias and patterns in generator output, and what passing or failing such tests does and does not show.
How raw random numbers become dice rolls, cards and weighted categories, and how careless conversion such as modulo bias can skew the intended odds.
Every algorithmic random number generator eventually repeats. See what period length means, why modern generators make repetition irrelevant, and where it can matter.
Compare algorithmic generators with physical randomness sources, what each is good at, and why the difference rarely matters for games but sometimes does for security.
How ordinary video games use random numbers for loot, maps and combat, and why that differs from wagering money on an uncertain outcome.
Walk through the Fisher-Yates shuffle and see why naive swapping methods produce biased card orders, with checked counting examples and no betting claims.
A seed is the starting value of a pseudorandom generator. Learn why it makes sequences repeatable, why weak seeds are guessable, and how good seeds are chosen.
Related topics