repositorypackage
0.0.0-20220701033449-2d3a2aae0c15
Repository: https://github.com/devinherron/dice.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
dice
Bare bones dice roller. Will expand functionality as needed.
Usage
func Roll(size int, number int) ([]int, int)
size determines the sides of the dice (e.g. number of sides) and number is the number of dice rolled. Roll returns an array of the roll results, as well as the total sum of all of the dice rolls.