Skip to content

Function: yahtzeeWithin() ​

ts
function yahtzeeWithin(rolls): Fraction;

Defined in: src/games/odds.ts:47

The chance of a Yahtzee (five dice alike) within a number of rolls, holding the largest group each time: 1 roll is 1 in 1296, and the usual three come to 347897 in 7558272, about 4.6%.

Parameters ​

rolls ​

number

Returns ​

Fraction

MIT © John Morris