Crate game_die

Source
Expand description

§Features

  • history - Enables the ability to retrieve the history of rolls for the Die. This may be useful for statistics, etc. This is NOT enabled by default.

Structs§

Die
Die Object
DieBuilder
Die Builder

Traits§

DieRng
RNG trait defines an interface for a Random Number Generater. A user can implement their own RNG and pass it to the DieBuilder method. This interface is UNSAFE, one utilizing the interface could potentially pass bad parameters i.e. l >= h. The Die will NOT exhibit this behavior.