Skip to main content

preflopCombosFromNotationMinusBlockers

Combo count after blockers removed.

preflopCombosFromNotationMinusBlockers(notation: string, deadCardsAmongCombos: number): 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

Combo count for a notation (e.g. AKs) after removing combos blocked by dead cards.

How to use

const notation = 'AKs';
const deadAmongCombos = 2;

const full = poker.preflopCombosFromNotation(notation);
const blocked = poker.preflopCombosFromNotationMinusBlockers(notation, deadAmongCombos);
console.log({ full, blocked }); // blocked <= full

See also

preflop-combos-from-notation