[Solved] Weighted random: roll dice 1 to 1000, averages to 100… which std::distribution to use?
You might be able to use a binomial distribution if its properties satisfy your needs. It gives you control over the maximum value and the mean. You can even choose a non-integer mean if you want to. You cannot choose the minimum, as that is always zero, so you may have to offset the result: … Read more