Skip to content

Type Alias: OutcomeOdds ​

ts
type OutcomeOdds = object;

Defined in: src/games/presets.ts:182

One line of a game's odds: an outcome, the words for it, and its chance as a whole-number count of the equally likely throws.

Properties ​

outcome ​

ts
outcome: string;

Defined in: src/games/presets.ts:183


text ​

ts
text: string;

Defined in: src/games/presets.ts:185

The outcome in words, with its figures left as they were first seen: "Three of a kind".


ways ​

ts
ways: bigint;

Defined in: src/games/presets.ts:187

How many of the throws come out this way.


outOf ​

ts
outOf: bigint;

Defined in: src/games/presets.ts:189

How many throws there are.


chance ​

ts
chance: number;

Defined in: src/games/presets.ts:191

The same as a chance.

MIT © John Morris