Displaying 1 result from an estimated 1 matches for "die_siz".
Did you mean:
die_size
2009 Feb 02
4
New to R
.... Very nice. In my opinion this is one
of the best languages I've found for getting tasks I'm interested in
done. I wrote this simple die roller and was curious to know if it is
R enough.
##############################################################################
#
# Input:
# die_size - 4, 6, 8, 10, 20
# number_of_dice - How many dice to roll
# number_of_rolls - How many times to roll the dice
#
# Output:
# rolls - The array holding the values of the dice
#
##############################################################################
#
function(die_size, number_of_dice,...