Coin Flip & Dice Roller

Flip coins or roll dice with cryptographically secure randomness. Supports multiple dice and various dice types.

6,200 AI Tokens Used
Jan 31, 2026 Created
randomgames
Categories
?

Uses cryptographically secure randomness for fair results.

How This Tool Was Built

This tool was created entirely by AI. Here's the exact prompt used to generate it:

Prompt Used
Create a Coin Flip & Dice Roller tool with these features:

1. Tab toggle between Coin and Dice modes
2. Coin mode:
   - Flip animation (optional)
   - Heads/Tails result with visual
   - History of last N flips
   - Running stats (heads count, tails count)
3. Dice mode:
   - Select number of dice (1-6)
   - Select dice type: d4, d6, d8, d10, d12, d20
   - Roll button with result
   - Show individual dice results and total
   - History of recent rolls
4. Use crypto.getRandomValues() for true randomness

Make it fun and interactive with yellow/gold as the accent color.
AI
Claude AI Model
#
6,200 Tokens Used
100%
AI-Generated Code Origin