Saltar al contenido

Lanzador de dados

Lanza N dados de M caras (d4 / d6 / d20 / personalizado) - aleatorio criptográfico, en tu navegador.

Funciona en tu navegador

Lanza cualquier combinación de dados: preset (d4 / d6 / d20...) o número de caras personalizado. Cada resultado se muestra junto a la suma y un modificador opcional. Aleatoriedad: window.crypto.getRandomValues.

Cómo usarla

  1. Pick the dice

    Number of dice + sides per die. Use a preset or type a custom side count.

  2. Add a modifier (optional)

    Constant added to the sum, like +2 in '3d6+2'.

  3. Roll

    Hit the Roll button. The individual rolls, sum and total appear; history below tracks the last 10 rolls.

¿Qué es?

A dice roller is a software replacement for physical dice that needs to feel as fair as the real thing. The hard part isn't the rolling - it's the randomness source. Math.random is biased on older browsers and has known patterns; crypto.getRandomValues doesn't, so it's the right pick for any roll that has stakes.

Cuándo usarla

Tabletop role-playing games when the actual dice are upstairs or missing. Quick decisions ('pick a movie from this shortlist of 6'). Classroom probability demonstrations. Generating sequences for music composition or art. Stress-testing a random-related code path.

Errores comunes

Confusing 'd6' with 'random number 1-6 inclusive' - that's exactly what d6 is, but some online dice tools quietly return 0-5 or 1-7 because of off-by-one bugs. Adding the modifier to each die separately when the rules say add it to the sum. And ignoring the roll history - useful for verifying that a long session was actually random and not a single long run of bad luck.

Preguntas frecuentes

Is it really random?
Yes - we use crypto.getRandomValues, the browser's cryptographically-secure PRNG. The same source that backs TLS key generation. No bias, no patterns.
Can I roll '4d6+2'?
Yes. Set count = 4, sides = 6, modifier = +2. The result line shows the four individual rolls, the sum, and the total with modifier applied.

Más en esta categoría