01Chapter 1: Why games use randomnessThis chapter assumes you can do basic arithmetic with fractions and percentages, such as knowing that 1 in 6 is about 16.7%. It also assumes you know common game mechanics (dice, shuffled decks, loot drops) and can read short Python programs. No probability theory is needed yet. Later chapters build7 min read
02Chapter 2: Input randomness vs output randomnessThis chapter assumes you can read short Python functions, compute simple probabilities such as 1/6 or 35%, and know common mechanics such as dice, card draws, and loot drops. Earlier chapters covered why games use chance. This one covers when in the turn chance should happen, which changes how a gam5 min read
03Chapter 3: Probability basics for designersThis chapter assumes you can work with fractions and percentages, know how dice, cards, and loot drops work in games, and can read short Python programs. It builds the vocabulary and the few rules that every later chapter relies on.5 min read
04Chapter 4: Expected value: the average outcomeYou should be comfortable with fractions and percentages, and with common game mechanics such as dice, cards, and loot. You should also be able to read short Python programs. The previous chapter covered basic probability: the probability of an outcome is a number from 0 to 1, and the probabilities 5 min read
05Chapter 5: Distributions: why summed dice clusterThis chapter assumes you can compute simple probabilities such as 1/6 or 3/36 and that you know expected value as the average outcome over many trials. You also need to read short Python programs. The earlier chapters covered probability basics and expected value. Here you will see how the shape of 5 min read
06Chapter 6: Variance and streaks: why short runs feel unfairThis chapter assumes you have read the earlier chapters on probability basics, expected value, and distributions. You should be comfortable with an expected value as a long-run average, and with reading short Python programs.5 min read
07Chapter 7: The gambler's fallacy and how players perceive chanceThis chapter assumes you know basic probability from the earlier chapters: independent events, expected value, and variance. It also assumes you can read short Python programs. The aim is to understand how players misjudge random events and what a designer can do about it.5 min read
08Chapter 8: Balancing skill and luckThis chapter assumes you know expected value and variance from the earlier chapters. It also assumes you can read short Python functions. It covers how to decide how much of a game's outcome comes from player decisions and how much comes from chance, and how to measure that mix.5 min read
09Chapter 9: Keeping decisions meaningful under chanceThis chapter assumes you know the difference between input and output randomness, can compute an expected value for a die roll, and can read short Python programs. Earlier chapters showed how to build randomness. This one asks whether players still feel their choices matter once chance is involved.5 min read
10Chapter 10: Risk and reward as a design toolThis chapter assumes you know expected value and variance from earlier chapters. It also assumes you can read short Python programs. Here you will use those ideas to design choices where the player decides how much chance to accept.6 min read
11Chapter 11: Weighted random tablesA weighted random table picks one outcome from a list, where each outcome has its own chance of being picked. Loot drops, enemy spawns, card pack contents, and critical hits all use this structure. This chapter assumes you know basic probability (a chance of 25 out of 100 is 25%), can read simple Py6 min read
12Chapter 12: Shuffle bags: randomness with guaranteesThis chapter assumes you can read basic Python. It also assumes you know the earlier chapters on probability, variance and streaks, the gambler's fallacy, and weighted random tables. The goal is a draw system that stays random from one draw to the next but keeps the long-run frequency and the worst 5 min read
13Chapter 13: Pity timers and bad-luck protectionThis chapter assumes you know basic probability, expected value, and the gambler's fallacy. It also assumes you have seen weighted tables and shuffle bags and can read short Python programs. Here you will build pity timers, measure what they do to a drop rate, and avoid the common mistakes.5 min read
14Chapter 14: Mitigating bad luck with catch-up and recoveryThis chapter assumes you have read the chapters on variance and streaks, balancing skill and luck, and keeping decisions meaningful under chance. You should also be able to read short Python programs. Pity timers appear here only as one tool among several. The earlier chapter on them covers how they5 min read
15Chapter 15: Pseudo-random number generatorsThis chapter assumes you can read simple Python and know the ideas from earlier chapters: probabilities, weighted tables, and why short runs of random results feel streaky. Here you will see where the random numbers behind those tools come from, and which implementation mistakes can quietly distort 4 min read
16Chapter 16: Seeds, replays, and reproducible bugsThis chapter assumes you know what a pseudo-random number generator (PRNG) is from the previous chapter. It also assumes you can read short Python programs. Here you will use seeds to replay a match exactly, reproduce a bug from a player report, and avoid the mistakes that silently break reproducibi4 min read
17Chapter 17: Testing your design with simulationProbability formulas answer simple questions. Real game systems add caps, pity counters, rerolls and player choices, and a formula for those gets hard to write or to trust. A simulation plays the system many times in code and measures what happens. This chapter covers how to build one and how to rea4 min read