Menu

I built a fortune wheel that decides the winner before it starts spinning published: true
📰

I built a fortune wheel that decides the winner before it starts spinning published: true

DEV Community: astro·USA Beam·10 days ago
#txohalED
#devtoastro#devto#dev#wheel#polish
Long article (1123 words) — no AI summary yet.
Reading 0:00
15s threshold

Every online wheel of fortune has the same trust problem. Somebody in the room always suspects the result was rigged. In a classroom or at a birthday party, one suspicious kid is enough to ruin the game.

I run a small Polish tool site called GenerujTo.com , built with Astro and React islands. Two of its pages get most of the traffic: a fortune wheel and a nickname generator. Neither has a backend. Here are the engineering decisions behind them, including a few I got wrong at first.

Decide first, animate second

The most important rule in the wheel is that the animation never decides anything.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.