Lancio moneta
Risultato: Testa
Come usare Lancio moneta
Clicca Lancia moneta. La moneta gira in 3D e si ferma su testa o croce. Gli ultimi lanci e le statistiche compaiono sotto in questa sessione.
Is a virtual coin flip really 50/50?
This flip is - and it's arguably fairer than a physical coin. The result comes from your browser's cryptographic random number generator (crypto.getRandomValues), the same source used for generating encryption keys, so neither side is favored and no pattern can be predicted.
Physical coin tosses, by contrast, carry a small bias: research by Stanford's Persi Diaconis showed a caught coin lands on the side it started on about 51% of the time, because of the physics of precession during the toss.
When to flip a coin
- Settle a two-way decision quickly when both options seem equal.
- Break a tie in games, contests, or who-goes-first disputes.
- The decision trick: flip, and notice how you feel about the result - your disappointment or relief reveals what you actually wanted.
- Teach probability: flip 50 times and compare your heads/tails split to the expected 50/50.
Probability of streaks
Streaks feel surprising but are normal: in 100 flips there's roughly a 97% chance of seeing at least five heads or five tails in a row. Each individual flip remains exactly 50/50 regardless of what came before - believing otherwise is the gambler's fallacy.
| Streak | Probability |
|---|---|
| 2 heads in a row | 25% |
| 3 heads in a row | 12.5% |
| 5 heads in a row | 3.1% |
| 10 heads in a row | 0.1% |
Funzionalità
- Animazione 3D del lancio
- Testa e croce con etichette chiare
- Cronologia della sessione
- Statistiche testa vs croce
- Casualità crittografica se disponibile
- 100% lato client
Domande Frequenti
Il lancio è equo?
Sì. Ogni lancio è 50/50 con crypto.getRandomValues() quando possibile. Nulla viene inviato a un server.
Cosa sono testa e croce?
Testa è di solito il lato con il ritratto; croce il lato opposto. Entrambi i risultati sono mostrati dopo ogni lancio.
La cronologia viene salvata?
Solo per la sessione corrente del browser. Ricaricando la pagina si cancella.