Running a Fair Draw for Events and Giveaways: Proving the Result with a Seed and a Reproducible Link

If you want nobody to say ‘that was rigged’, anyone must be able to replay the draw. This guide explains how Mandumon Games builds every result from a cryptographic random seed and a deterministic algorithm, packs only the seed and inputs into a link (#r=), which game fits which group size, a before/during/after procedure for real events, and the limits of the approach.

Whether you are picking who buys the next round or choosing five winners out of 300 entries, the complaint you hear most is ‘was that rigged?’. The best answer is to let anybody rerun the draw themselves. Every draw game on Mandumon Games (game.mandumon.com) is built so that the result is never stored: the link carries only a seed and the inputs, and the browser of whoever opens it performs the same computation and lands on the same result. This guide explains that mechanism as implemented in the code, and proposes a procedure you can use at an actual event.

You share the seed, not the result

A screenshot of a result forces the recipient to trust the picture. Mandumon Games works differently.

  1. When you press Start, the browser's cryptographic random generator (crypto.getRandomValues) produces one 32-bit seed. Neither the organiser nor the app chooses it.
  2. That seed drives a deterministic generator (sfc32). Integers within a range are drawn with rejection sampling so no value is favoured, and the Draw game shuffles names with the Fisher–Yates algorithm.
  3. The share link holds only { version, seed, input (such as the name list), options } as JSON, compressed with deflate-raw and written in base64url. That is the part after #r= in the address. The outcome itself, who won, is not in the link.
  4. A browser opening the link repeats the same computation with the same seed and inputs and replays the same animation: the wheel decelerates along the same curve into the same slice, the ladder draws the same rungs.

Changing the winner therefore requires changing the seed or the name list, and either change produces a different link. Anyone holding the original link can expose the switch immediately. The fragment after # is also something browsers never send to a server, so the name list is never logged by Mandumon. There is no server API that receives draw inputs or results at all.

Picking a game for the group size and setting

Draw games are grouped into four categories by maximum participants, and every game within a category shares the same limit. A separate Time killers category (Little Aquarium, Dumpling Shop, Sand Play, Smash It, Block Tower) holds single-player games that are not draws: they use no seeds or share links and save progress in the browser instead. Block Tower is the one exception: its result link carries the device and seed so a friend can take the same run.

  • Friends (up to 12): Ladder, Animal Race, Liar Game. Ladder with result slots set to ‘win’ and ‘lose’ is a natural fit for picking a penalty.
  • Groups (up to 100): Wheel (2 to 100 items, weights 1 to 100), Draw (N winners, shuffled order, N teams), Dice/Coins/Numbers with per-participant rolls. For a giveaway with 100 or fewer entrants, Draw in Winners mode is the simplest.
  • Large draws (up to 1,000): Marble Drop, Survival Draw, Balloon Race and Disaster Dodge. Enter hundreds of entries as numbers and pick first place, the top N or last place. The full finishing order is produced, so backup winners come for free.
  • Numbers: the lottery number generator. Not for picking people.

Within a category, choose by spectacle and time. Draw gives an instant result; Wheel, Ladder, Race (about 7 seconds), Marble and Survival have animations that look good on a shared screen. Because a shared link replays the same animation, people who were not in the room still get to see ‘the moment’.

A procedure for before, during and after the draw

Before

  1. Finalise and publish the participant list. Names can be pasted separated by line breaks or commas, and each entry can be up to 120 characters. Duplicates are told apart by their position, so writing ‘Kim Minsu (Marketing)’ avoids arguments later.
  2. Decide and announce the mode and count in advance, for example ‘Draw, 5 winners’ or ‘Marble, top 3, normal course’.
  3. The app stores your last input in this browser's localStorage, so after a rehearsal you do not have to paste the list again for the real draw. Typing still works if storage is blocked.
Draw setup: ten placeholder names, Pick winners mode, number of winners 2
The setup screen with the finalised participant list (ten example names) and the announced mode and count (Pick winners, 2) entered before the draw.

During

  1. Pressing Start on the setup screen switches to the game screen and generates the new seed at that instant. If you are screen-sharing, participants watch this happen.
  2. When the result appears, press Share to copy the link (on supporting devices the system share sheet opens as well). You can also download a PNG (1080 px) or a GIF (360 px, under 3 MB).
  3. ‘Play again’ does not immediately rerun. It shows a waiting screen, ‘Play again with the same settings’, and you press Start again. This protects you from wiping a result by accident, but for fairness note that nobody can see how many times you pressed it, so agree beforehand that the first result stands.
Draw result: two winners with PNG, GIF, Copy link and Share buttons
The result screen after pressing Start: two winners, with the PNG, GIF, Copy link and Share buttons below.

After

  • Post the link in your announcement channel. Anyone can open it and replay the identical result.
  • Use the PNG for the announcement and the GIF to share the moment, but always include the link for verification. Pictures alone cannot be reproduced.
  • If someone objects, have them open the link on a different device or browser. The simulations in Marble Drop, Survival Draw, Balloon Race and Disaster Dodge deliberately avoid transcendental functions such as sine and cosine and uses only arithmetic and square roots, so different devices and browsers reach the same result.

Fairness of weights, team splits and per-participant rolls

  • Wheel weights are integers from 1 to 100; an item with weight 2 has twice the probability and twice the slice size of weight 1. This suits events that scale odds by number of entries, but the weights are inside the link and therefore public. Editing the items resets all weights to 1.
  • Draw's team mode shuffles everyone once and deals them out 1, 2, 3, 1, 2, 3 …, so team sizes differ by at most one person.
  • Per-participant rolls in Dice/Coins/Numbers: 2 to 100 people each roll under the same conditions, and the totals (number of heads for coins) show every tied highest and lowest. Ties are never hidden.
  • Animal Race: all 12 animals draw their eight segment speeds from the same range (0.6 to 1.4) and are ranked by total time. No animal is favoured.

Know the limits

  • A link proves ‘this seed and these inputs produce this result’. It does not prove ‘this is the first link produced at the actual draw’. The app does not vouch for the authenticity of a hash. That is why live screen sharing or a ‘first result stands’ rule is needed alongside it.
  • Searching for a seed that yields a desired outcome and building a link by hand is technically possible. Nothing prevents it, which is exactly why watching the Start moment together matters.
  • Invalid or corrupted links open as an empty setup screen rather than an error. If a received link shows no result, it was most likely truncated when copied.
  • The Liar Game share link opens the reveal screen showing the answer and the liars. Never share it mid-game.

Common mistakes and fixes

  • The link shows a blank game in a messenger: some apps truncate long URLs or strip the part after #. Make sure the whole link was pasted, and use number-range input when the list is long.
  • I corrected a name and the result changed: that is expected. Different input means a different draw. Use the published list exactly.
  • Play again did not spin immediately: press Start on the waiting screen.
  • The GIF will not save: GIFs over 3 MB are not produced. Use the PNG plus the link instead.

FAQ

Is the result stored on a server?

No. There is no server API or database that receives or stores draw inputs or results. The part of the link after # is never sent to any server by the browser. If you want to keep a result, save the link yourself.

The animation seems to run for a different length on another device.

Devices with ‘reduce motion’ (prefers-reduced-motion) enabled play a shortened or fast-forwarded animation. The result is identical.

How many people fit in one link?

Share data may be up to 64 KiB before compression. A 1,000-name list fits, but the link becomes very long, so number-range input is recommended for large draws.

Related tools and guides

Open Draw (winners, order, teams)

Open Marble Drop

Large Draws for Hundreds of People: Marble Drop and Survival

Deciding Order, Teams and Winners in a Group: Which Game to Use

← Guides