Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTooManyLoops = errors.New("Too many loops, you either specified too many dices or sides")
)
View Source
var (
MaxLoop int64 = 1000
)
Functions ¶
This section is empty.
Types ¶
type EoteDie ¶
type EoteResult ¶
func (EoteResult) Description ¶
func (r EoteResult) Description() string
func (EoteResult) Int ¶
func (r EoteResult) Int() int
func (EoteResult) String ¶
func (r EoteResult) String() string
type EoteRoller ¶
type EoteRoller struct{}
func (EoteRoller) Pattern ¶
func (EoteRoller) Pattern() *regexp.Regexp
func (EoteRoller) Roll ¶
func (EoteRoller) Roll(matches []string) (RollResult, error)
type RollResult ¶
type StdResult ¶
type StdResult struct { Rolls []int Dropped []int Total int // contains filtered or unexported fields }
func (StdResult) Description ¶
func (r StdResult) Description() string
type VsResult ¶
func (VsResult) Description ¶
Click to show internal directories.
Click to hide internal directories.