抛硬币 / 掷骰子 — A virtual coin flip and dice roller that uses the browser's cryptographically-secure random number generator. The result is unpredictable until the moment of the flip — no time-based trick, no pre-computed sequence. The session tracks how many heads vs tails you have seen, so you can verify the distribution over many flips.
Every flip and roll uses your browser's cryptographically-secure random number generator. Nothing is sent to a server.
Was 抛硬币 / 掷骰子 useful?
抛硬币 / 掷骰子是什么?
A virtual coin flip and dice roller that uses the browser's cryptographically-secure random number generator. The result is unpredictable until the moment of the flip — no time-based trick, no pre-computed sequence. The session tracks how many heads vs tails you have seen, so you can verify the distribution over many flips.
For coin flips, the answer is heads or tails with equal probability. For dice, the supported types are d4, d6, d8, d10, d12, d20, and d100. You can roll multiple dice at once and the tool shows each individual result plus the total.
使用方法
-
Click "Flip the coin"
The coin rotates for a moment, then lands on heads or tails with equal probability.
-
Pick dice type and count
Choose the number of dice and the number of sides (d4, d6, d8, d10, d12, d20, d100).
-
Roll and read the result
Each die shows its face. The total appears next to the individual rolls.
示例
Quick decision
Heads we eat out, tails we cook at home.
结果: Heads — you eat out tonight.
Tabletop RPG attack roll
Roll 1d20 + 5 to hit.
结果: Roll the d20, add 5. 18+ hits most AC values.
Multiple dice
Roll 3d6 for a D&D ability score.
结果: Sum the three results. The total is between 3 and 18, with an average of 10.5.
常见问题
相关指南
How to Generate a Cryptographically Secure Random Number in Your Browser
Math.random() is not secure. Learn why, what "secure" means for random number generation, the right browser API to use (crypto.getRandomValues), and how to generate a random number in a range without bias.
When to Use a Decision Maker, and When You Should Trust Yourself
A decision maker is a tiebreaker, not a replacement for judgment. Here is when it actually helps (analysis-paralysis on equal options, breaking a long deadlock, choosing between two equivalent things), and when it makes things worse (when one option is clearly better, when you have not done the analysis, when the decision matters and you need to own it).
The Math Behind a Fair Coin Flip (and Why Your Brain Lies About It)
A coin flip is the simplest random experiment. The math is 50/50, the physics is messy, and your brain is the worst part. Here is what "fair" actually means, why a flipped coin is not exactly 50/50, why 100 flips rarely show exactly 50/50, and how to verify a tool is using real randomness.
相关工具
Last reviewed: 2026-11-21