Skip to content
Mai Trinh
Personal2026Completed

Lucky Wheel

A configurable, weighted-probability prize wheel for events and giveaways — built solo, completed and released.

Role
Solo developer — product, architecture & release preparation
Platform
Android
Period
2026

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

  1. 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

  1. Product definition

    Done
  2. Core development

    Done
  3. Testing & refinement

    Done
  4. Release preparation

    Done
  5. Release & improvement

    Done

Related

All projects

Professional · Travel & Tourism · 2026 · In progress

VoiceMap — Global Audio Tour Application

Personal · AI · 2026 · Completed

Halo — Offline AI Chat