Expand description
Random and probabilistic things helpful for games.
Structs§
- Weighted
Picker - It’s often helpful to have weighted probabilities. This struct serves as a sort of weighted bag; you can give it entries with various weights, and then randomly sample them.