User guide All lessons Cookbook Function reference Open playground

Your first die

At the table

You roll one ordinary six-sided die and want to see how likely each face is.

Try it

In the playground, open this file and click Run (or press Shift+Enter).

The script

output("one_d6", 1d6)

one_d6 · DieRoll · mean 3.500

outcome%fracX/6
116.71/61
216.71/61
316.71/61
416.71/61
516.71/61
616.71/61

Next

Lesson 2: Adding two dice