Ways to use the random number generator
- Giveaways and raffles: number the entries and draw winners without repeats, or paste the entrant names and pick from the list.
- Games: roll dice (1 to 6), flip a coin (1 to 2) or choose who goes first.
- Classrooms: pick a student, or shuffle a list to make random groups or a presentation order.
- Decisions: can't choose a restaurant? Put the options in a list and let chance decide.
How it stays fair
Many simple generators use a method (“modulo”) that makes some numbers slightly more likely than others. This one uses rejection sampling, which throws away the few random values that would cause that bias, so every number and every name has exactly the same chance.