Skip to content

Type Alias: ExactCounts ​

ts
type ExactCounts = object;

Defined in: src/odds.ts:29

The odds as whole numbers: how many of the equally likely outcomes make each total.

Properties ​

min ​

ts
min: number;

Defined in: src/odds.ts:31

The lowest total the dice can make.


counts ​

ts
counts: bigint[];

Defined in: src/odds.ts:33

counts[i] is the number of outcomes that total min + i.


outcomes ​

ts
outcomes: bigint;

Defined in: src/odds.ts:35

How many outcomes there are: the sides to the power of the dice.

MIT © John Morris