Modules
WeightedRandom.Backend offers a contract to all who implement it
This is a very naive approach. Quick and dirty to implement, but definitely not as fast as most other backends, especially at scale. One advantage it has is a very fast and simple preprocessing phase. So if you only need to run it once, this can actually beat the Walker Alias Method.
This is just a wrapper around the WAM hex package, which implements the Walker Alias Method.
Copied from https://github.com/bjunc/cubic-bezier/tree/master Unfortunately the build seems to be broken so I could not use it directly.
Represents a single Die, with a certain number of sides, weights, and current result.