
8 min read
How I built a fair sweepstake app in 8 hours, starting on paper
Hattle, my World Cup sweepstake app, went from a paper sketch to shipped in 8 hours. The draw is a seeded Fisher-Yates shuffle anyone can re-run and check. Here's how it works, an illustrative code sketch, and my own Node test showing why the popular sort-with-random shuffle is quietly unfair.