Description Usage Arguments Value Examples
Get a vector with all possible scores after rolling XdY. Warning: An ideal approach can be very resource intensive for values of X and/or Y larger than 8.
1  | GetTheoreticalScores(X, Y)
 | 
X | 
 An integer, the amount of dice to be rolled.  | 
Y | 
 An integer, the number of sides the die has. (Default: 10)  | 
dice.rolls | 
 An Integer, the amount of dice rolls to be simulated.  | 
A Vector with all possbile scores for XdY
1 2  | GetTheoreticalScores(5, 10)
GetTheoreticalScores(X = 8, Y = 10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.