Dice Roll Distribution Simulator

Continuous Monte Carlo simulation rolling two 6-sided dice 4 times per second (8 dice total) to observe central limit convergence across sums 2–12.

$ engine.state: running | rate: 4 rolls/sec (16 dice)
latest rolls: [ - ]
Total Generated N_ROLLS
0
Running Time ELAPSED
0s
Most Frequent (Mode) SUM_PEAK
-
Last Generated CYCLE_SUMS
-
Distribution Graph & Frequency Analysis
Top 3 Ranks Mid Ranks Bottom 3 Ranks
Probability Matrix (Theoretical vs Empirical) N=36 Combinations
Sum Combinations Theoretical % Observed Count Observed % Variance
Simulation Routine

The generator produces pseudo-random uniform integers [1, 6] for each die and compiles discrete frequency distribution bins for sums [2, 12].

function rollDice() {
  const d1 = Math.floor(Math.random() * 6) + 1;
  const d2 = Math.floor(Math.random() * 6) + 1;
  return d1 + d2;
}