Real World Maths Busters
The Maths Behind Everyday Life
The story, the formula and a worked example — see exactly where this maths shows up in the world around you.
Games & Chance 4 min read
Speedrun RNG Manipulation
How gamers exploit pseudo-random number generators.
A linear congruential generator (LCG) produces “random” numbers via a simple formula. If you know the parameters, you can predict every output.
The LCG formula
Most classic game RNGs use this recurrence.
Typical game RNG
- 1
Step
X₀ = 42 (seed)
- 2
Step
X₁ = (1103515245 × 42 + 12345) mod 2³¹
- 3
Step
Result is deterministic
Answer
Same seed gives same sequence
Manipulating the seed
By performing specific in-game actions in a set order, speedrunners control the seed or the number of RNG calls, ensuring they get the drops or events they need.
The takeaway
Game RNGs aren’t truly random — and speedrunners exploit that determinism brilliantly.