Skip to main content

twoPairMadeFlopToRiverExactProbability

Exact two pair+ by river.

Card lists use CardInput (string[] or packed Uint8Array). See Card notation.

twoPairMadeFlopToRiverExactProbability(heroHoleCards: CardInput, flopThree: CardInput, knownDead: CardInput): number

Import

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

ESM (Node):

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');

When to use

Exact two pair or better by the river.

How to use

const hole = ['Ah', 'Kd'];
const flop = ['Ac', '7d', '9c'];

console.log(poker.twoPairMadeFlopToRiverExactProbability(hole, flop, []));

See also

flush-made-flop-to-river-exact-probability