Dice.meetTarget

Roll the dice and count the number of rolls that met the specified target.

struct Dice(RNG)
@safe
meetTarget
(
uint val
)
if (
isUniformRNG!RNG
)

Parameters

bounding

whether the target is an upper/lower bound

val uint

target to reach

Meta