๐ฏRandom Name Wheel & Team Picker Documentation & Guide
๐How to Pick Winners or Random Teams
- Paste Participant Names: Enter one participant name or raffle ticket per line (or click a demo list).
- Choose Draw Mode: Select Pick 1 Random Winner or Split Into Random Balanced Teams (2 to 12 teams).
- Execute CSPRNG Draw: Click Pick Winner / Generate Teams for unbiased Fisher-Yates randomized output.
โ๏ธ`crypto.getRandomValues()` Fisher-Yates Unbiased Shufflingโผ
Avoids weak predictable `Math.random()` generators by seeding a full Fisher-Yates permutation using the Web Crypto API's hardware-entropy `crypto.getRandomValues()` UInt32 buffer.
๐Formula & Mathematical Architectureโผ
๐งฎConcrete Worked Examplesโผ
6 names -> Pick WinnerSingle unbiased winner selected via WebCrypto CSPRNGEqual 16.67% probability across all 6 participants.
8 names, Team Count = 2Team 1 (4 players) & Team 2 (4 players)Shuffles all 8 names uniformly then deals alternatingly.
โ ๏ธCommon Pitfalls & Edge Casesโผ
- โ ๏ธEntering duplicate blank lines or accidental trailing duplicate names (remove duplicates first if every human gets 1 ticket).
- โ ๏ธRequesting more teams than total participants (automatically caps at participant count).
- โ ๏ธUsing deterministic mock spinners when fair cryptographically seeded randomness is needed.
๐กWorkshops, Gaming & Classroom Fairnessโผ
- Dividing workshop attendees, classroom students, or Coffeeshop boardgame groups cleanly into equal teams.
- Drawing transparent raffle winners offline without ad-bloated spinner sites.