high_roller v1.0.0 HighRoller.Dice

Documentation for HighRoller.Random module. This is where all the functions are that have results that are inherently random.

Link to this section Summary

Link to this section Functions

Link to this function

roll(num_of_dice, sides, current_result \\ [])

Rolls dice via a method.

Examples

iex> HighRoller.Dice.roll(1, 1)
[1]