Skip to main content

HeroRunoutVulnerabilityResult

Returned by exactHeroRunoutVulnerability and exactHeroRunoutVulnerabilityAsync.

FieldTypeMeaning
pNutsnumberFraction of runouts where hero ties or beats every villain line
pDominatednumberFraction where some villain beats hero
runoutCountnumberNumber of enumerated turn/river completions

Semantics

Board must have 3 or 4 cards (flop or turn). All uniform turn+river (or river-only) completions are enumerated. On each runout, hero’s best five is compared to the best possible villain hand on that board. pNuts and pDominated divide by runoutCount. Optional knownDead removes extra cards from the deck.

The async export returns the same shape; pass AsyncOptions to cancel long enumerations.

Example

const poker = require('poker-calculations');

const { pNuts, pDominated, runoutCount } = poker.exactHeroRunoutVulnerability(
['Ah', 'Kh'],
['Qh', 'Jh', '2c'],
);
console.log({ pNuts, pDominated, runoutCount });

See also

AsyncOptions · Tournament, runouts, and bots