Skip to content

devinherron/dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages