← Back

How the Draw Works

Fair and random

Every Drawdrop draw uses a cryptographically-unbiased random selection process. When the draw is triggered, the platform selects a winner from all valid tickets using JavaScript's Math.random() function, which produces a uniformly distributed pseudo-random number. Each ticket has an exactly equal probability of being selected.

How it works technically

  1. All tickets for a drawdrop are retrieved from the database.
  2. If there are previous winners (multi-prize draws), their tickets are excluded from the pool.
  3. A random index is generated: Math.floor(Math.random() * eligibleTickets.length)
  4. The ticket at that index is selected as the winner.
  5. The result is written to the database and displayed to all viewers in real time.

No one can influence the outcome

  • Venue owners cannot see or predict the winning ticket before the draw.
  • Drawdrop staff have no mechanism to override or influence the random selection.
  • The draw is irreversible — once triggered, the selection happens server-side and is recorded permanently.
  • Redraw is available if a prize cannot be claimed. A redraw selects a new random winner from remaining tickets, excluding the previous winner for that place.

Live and transparent

The draw happens live on the public drawdrop page. All viewers connected to the page see the same animation and result simultaneously via Firebase Realtime Database. The winner's name and ticket number are displayed publicly after the draw.

Ticket numbering

Tickets are numbered sequentially starting from #1. Each ticket is assigned a unique number at the time of purchase, whether bought in person (cash) or online (card). The numbering is consistent regardless of purchase method — there is no distinction between cash and online tickets in the draw pool.

Multi-prize draws

For draws with multiple prizes (1st, 2nd, 3rd place), each prize is drawn separately. Once a ticket wins a prize, it is excluded from subsequent draws. This ensures the same person cannot win multiple prizes in a single drawdrop (unless they hold multiple tickets and each wins independently).

Data integrity

All ticket and draw data is stored in Google Cloud Firestore, a managed database with built-in redundancy and audit logging. Draw results cannot be modified after the fact. The platform maintains a complete record of every ticket sold, every draw conducted, and every winner selected.

Open source

The draw selection code is straightforward and can be audited. If you have questions about the fairness of the draw process, contact us at hello@drawdrop.app