Project overview
- Domain
- Consumer utility — event and group random-selection tools
- Product
- Lucky Wheel is an Android app for creating configurable prize wheels: add prizes or items with a weight, spin the wheel, and get a randomly selected result — built for events, giveaways, and trade shows, not gambling.
- Audience
- Anyone running an event, giveaway, or group activity who wants a visual, fair way to pick a random result.
- Why it exists
- A simple, visual alternative to manually picking a winner, with a probability model that can be configured per prize rather than always being equal odds.
- Problem
- Groups running giveaways or events needed a simple, trustworthy way to run a weighted random draw without building anything themselves.
My role & contributions
This is a personal, solo project — product idea, product design direction, Android implementation, automated testing, and release preparation are all my own work. It's built on top of a reusable Android product foundation I maintain separately, reserved for the app-specific logic: wheel/prize management, the weighted-selection engine, spin animation, and history.
Challenges & solutions
Technical challenges
The core challenge was making a weighted random draw feel fair and trustworthy: the winner has to be selected correctly according to each prize's configured weight, the spin animation has to visually land on that exact result without looking ambiguous, and a rapid double-tap or an accidental back-press during the result dialog must never be able to record two results for one spin.
How I approached it
The winner is selected first, using cumulative-weight random sampling — not a naive equal-chance pick — before any animation runs. The wheel's visual slices are deliberately equal in size regardless of weight, so probability and visual layout stay decoupled; a separate geometry calculation then computes the spin's landing rotation, with a safety margin that nudges the stop point away from a slice boundary so the result never looks ambiguous. Saving or skipping a result after the spin is guarded by a single-flight state check, confirmed with a dedicated concurrency test, so at most one history record can ever result from one spin.
Current progress
Product definition
DoneCore development
DoneTesting & refinement
DoneRelease preparation
DoneRelease & improvement
Done

