# Pick a winner for a small event

A simple, local raffle with a visible participant list and a clear reset.

## Result

Participants: 12
Unique entries: 10
Draw → #07

One result. No accounts or uploads.

## Before you start

An AI coding tool and a browser. Use participant nicknames or numbers instead of personal details.

## Quick start

1. Copy the recipe and make a single HTML file.
2. Test with a made-up list, including duplicates.
3. Review the list together before drawing.

## Rebuild

Make a single HTML page for a small informal raffle. Let me paste nicknames or numbers, one per line. Trim whitespace, remove exact duplicates and show the final list and count before drawing. Select using the browser cryptographic random API with unbiased integer selection. Display one winner clearly, prevent double clicks during a draw, and provide a deliberate reset. Keep everything in the browser without network calls, tracking or storage. Make buttons large enough for touch and usable by keyboard. Explain that refreshing clears the list. Test zero entries, one entry, duplicate names and a long nickname.

## Limits

For informal events only; this recipe does not provide verifiable public lottery records or eligibility management.

Starter example; questions are welcome, with no ongoing support commitment.

---
Maintainers: x-ify
Attribution: Disposable · original starter recipe
Reuse terms: CC0-1.0
Version: 3cfb6056cc6b
