Gambler's Ruin Fork Race: Nakamoto Consensus Random Walk
Interactive 2D simulator of Nakamoto consensus as a gambler's-ruin random walk: the honest-chain lead drifts up and down as two independent Poisson mining processes compete, plotted live against Satoshi's closed-form double-spend probability curve.
Blockchains like Bitcoin resolve competing branches with a simple rule: nodes always accept the chain with the most accumulated proof-of-work. Rather than rendering the two branches as literal block towers, this 2D simulator exposes the mathematical object underneath the race: a one-dimensional random walk of the honest chain's lead, driven by two independent Poisson mining processes weighted by hash-power share. Watch the walk drift, reset on every reorg, and compare its long-run reorg frequency directly against Satoshi Nakamoto's closed-form double-spend probability curve plotted over attacker hash power — the same security argument, seen as a phase diagram instead of a race track.
Watch Nakamoto consensus as a live gambler's-ruin random walk: the honest chain's lead drifts up and down as two independent Poisson mining processes race, plotted against a closed-form catch-up probability curve over attacker hash power — the same fork-choice security argument as the 3D block race, seen as a phase diagram instead of a race track.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install