Skip to main content

exactHuEquityVsKnownHand

Exact heads-up equity when the villain hole cards are known.

exactHuEquityVsKnownHand(heroHoleCards: CardInput, villainHoleCards: CardInput, boardCards: CardInput): number

Import

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

When to use

Use for hand-vs-hand analysis on the flop, turn, or river, or preflop with an empty board (enumerates all runouts).

How to use

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

const equity = poker.exactHuEquityVsKnownHand(
['Ah', 'Kd'],
['Qc', 'Qs'],
['Jh', 'Tc', '2d'],
);
console.log(equity);