Computing π from Coin Tosses
Toss a fair coin until the number of heads first exceeds the number of tails, and record the fraction of heads at that moment. Repeated, the average of those fractions approaches π/4.
Pick a number of runs and press Start.