Random Generators

骰子模拟器

掷自订面数和数量的虚拟骰子

骰子设定
配置您的掷骰
当前掷骰
掷骰子以查看结果

尚未掷骰子。配置设定并掷骰!

Tips & Use Cases

Perfect for:

  • • Tabletop gaming (D&D, Pathfinder)
  • • Board game replacements
  • • Probability experiments
  • • Decision making
  • • Educational math lessons
  • • Game development testing

Dice Types:

  • • D4: Tetrahedral, 1-4 range
  • • D6: Standard cube dice
  • • D8: Octahedral, 1-8 range
  • • D10: Pentagonal trapezohedron
  • • D12: Dodecahedral, 1-12 range
  • • D20: Icosahedral, popular in RPGs
  • • D100: Percentile dice, 1-100 range
Frequently Asked Questions

Are virtual dice as random as physical dice?

Yes! Our virtual dice use cryptographically secure random number generation, often more random than physical dice which can have manufacturing biases.

Can I roll multiple different dice types at once?

Currently, you can only roll multiple dice of the same type. For mixed dice rolls, perform separate rolls for each dice type.

How do I interpret D100 results?

D100 results range from 1-100 and are perfect for percentile checks, random tables, and probability-based game mechanics.

API Documentation
Integrate dice rolling into your applications

GET /api/v1/dice

Roll virtual dice with customizable options

Parameters
sidesnumberNumber of sides on dice (4, 6, 8, 10, 12, 20, 100, default: 6)
countnumberNumber of dice to roll (1-10, default: 1)
Example Request
curl "https://random-generators.com/api/v1/dice?sides=20&count=3"
Example Response
{
  "rolls": [
    { "value": 15, "sides": 20 },
    { "value": 8, "sides": 20 },
    { "value": 20, "sides": 20 }
  ],
  "total": 43,
  "count": 3,
  "sides": 20
}