GetTheoreticalScores: Get a vector with all possible scores after rolling XdY....

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

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.

Value

A Vector with all possbile scores for XdY

Examples

1
2

rubenbanuelos/gameDesignTools documentation built on May 22, 2019, 4:42 p.m.