Spunk Odds Reference

Coin flip guide

Eagle Coin Flip: what a simulation shows and hides

Eagle is no more than the label on this page. The page runs a seeded computer simulation of the coin flip format and compares it with exact theory.

Why simulate a game you can solve exactly?

Every average for a coin toss can be written down with pencil and paper. A simulation adds something different: it shows what individual sessions look like, with all their noise. Averages describe the centre; a simulated session shows the ride.

The simulation

Below are eight sessions of 150 one-unit flips each, at a 1.98x payout. The random numbers come from Python's pseudo-random generator started from seed 77. Change the seed and every row changes. None of this is a record of real play.

Simulation: coinflip, 8 x 150 rounds
SessionRounds wonNet (units)Lowest pointLongest losing run
173-5.46-7.765
270-11.40-20.088
375-1.50-6.408
4796.42-1.126
58722.26-0.045
670-11.40-12.387
7784.44-3.346
8808.40-2.245

Seeded pseudo-random simulation (Python random.Random, seed 77), 8 sessions of 150 one-unit rounds. Average session result 1.47 units. This is a simulation, not a record of real play; a different seed gives different numbers.

Reading it against theory

When does the simulation converge?

With enough rounds a simulation homes in on the exact value. Using seed 77 again, the mean net per flip over 1,000 flips is -0.0001; over 100,000 flips it is -0.0120. The exact answer is -0.0100. The error at n flips is roughly one divided by the square root of n, so 100,000 flips still leave a few thousandths of noise.

Limits of simulation

A pseudo-random generator is fine for teaching but is not how a hash-verified service makes results. For the service side, see the hash check page. A simulation can also mislead if the seed is cherry-picked to tell a story, which is why the seed is printed above.

Could a different seed show all eight sessions winning?

Yes, it is possible, just unlikely. That is exactly why one simulation proves nothing about the long run, and why the exact expected value matters.

Why 150 flips per session?

It is long enough to show drawdowns and streaks, and short enough that luck still outweighs the edge, which is how many real sessions feel.