[][src]Crate mice

mice, messing with dice

The heading obviates the need for a body.

This crate is written primarily for my own usage, and will likely obtain extensions related to games that I play.

Enums

RollError

Functions

dice_vec

Get a Vec of tuples of the form: (number of dice, number of faces)

roll_dice

Evaluate a dice expression! This function takes the usual dice expression format, and allows an arbitrary number of terms.

roll_vec

Roll and sum a Vec of tuples, in the form provided by this function's complement: dice_vec