Skip to content

Instantly share code, notes, and snippets.

@dmdavis
Created April 3, 2013 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmdavis/5304503 to your computer and use it in GitHub Desktop.
Save dmdavis/5304503 to your computer and use it in GitHub Desktop.
Output of swdiceprob.py as a CSV file.
Exploding Die
Target d4 d6 d8 d10 d12
1 1 1 1 1 1
2 0.75 0.833333333 0.875 0.9 0.916666667
3 0.5 0.666666667 0.75 0.8 0.833333333
4 0.25 0.5 0.625 0.7 0.75
5 0.25 0.333333333 0.5 0.6 0.666666667
6 0.1875 0.166666667 0.375 0.5 0.583333333
7 0.125 0.166666667 0.25 0.4 0.5
8 0.0625 0.138888889 0.125 0.3 0.416666667
9 0.0625 0.111111111 0.125 0.2 0.333333333
10 0.046875 0.083333333 0.109375 0.1 0.25
11 0.03125 0.055555556 0.09375 0.1 0.166666667
12 0.015625 0.027777778 0.078125 0.09 0.083333333
13 0.015625 0.027777778 0.0625 0.08 0.083333333
14 0.01171875 0.023148148 0.046875 0.07 0.076388889
15 0.0078125 0.018518519 0.03125 0.06 0.069444444
16 0.00390625 0.013888889 0.015625 0.05 0.0625
17 0.00390625 0.009259259 0.015625 0.04 0.055555556
18 0.002929688 0.00462963 0.013671875 0.03 0.048611111
19 0.001953125 0.00462963 0.01171875 0.02 0.041666667
20 0.000976563 0.003858025 0.009765625 0.01 0.034722222
Wild Die
Target d4 d6 d8 d10 d12
1 1 1 1 1 1
2 0.958333333 0.972222222 0.979166667 0.983333333 0.986111111
3 0.833333333 0.888888889 0.916666667 0.933333333 0.944444444
4 0.625 0.75 0.8125 0.85 0.875
5 0.5 0.555555556 0.666666667 0.733333333 0.777777778
6 0.322916667 0.305555556 0.479166667 0.583333333 0.652777778
7 0.270833333 0.305555556 0.375 0.5 0.583333333
8 0.192708333 0.258487654 0.246527778 0.397222222 0.497685185
9 0.166666667 0.209876543 0.222222222 0.288888889 0.407407407
10 0.126302083 0.159722222 0.18359375 0.175 0.3125
11 0.085069444 0.108024691 0.144097222 0.15 0.212962963
12 0.04296875 0.054783951 0.103732639 0.115277778 0.108796296
13 0.04296875 0.054783951 0.088541667 0.105555556 0.108796296
14 0.034595631 0.04576046 0.068938079 0.091527778 0.097768776
15 0.026186343 0.036694102 0.049189815 0.077407407 0.086676955
16 0.017740885 0.027584877 0.029296875 0.063194444 0.075520833
17 0.01312934 0.018432785 0.024739583 0.048888889 0.064300412
18 0.007545754 0.009237826 0.018238209 0.034490741 0.053015689
19 0.006573712 0.009237826 0.016294126 0.024537037 0.046103395
20 0.00483082 0.007701165 0.013585974 0.013819444 0.038446288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment