← 探索
製作步驟 / 使用自己的 AI
Pick a winner for a small event
A simple, local raffle with a visible participant list and a clear reset.
結果範例
Participants: 12 Unique entries: 10 Draw → #07 One result. No accounts or uploads.
準備事項
An AI coding tool and a browser. Use participant nicknames or numbers instead of personal details.
快速開始
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.
限制與支援
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.
用你的智慧代理重新製作
把它交給你自己的 AI 代理,做出你的版本。這是別人寫的指令,執行前請先閱讀。
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.
向作者提問
問題、錯誤和「我試過了」都發到 GitHub issue,由作者回覆。發文需要 GitHub 帳號。