tournamentDuelAbsorptionProbabilities
Discrete heads-up duel Markov model: absorption probability, expected hands until elimination, and optional prize EV for the hero.
tournamentDuelAbsorptionProbabilities(heroStack: number, villainStack: number, winProbabilityPerHand: number, chipsPerAllIn: number, winnerPrize?: number): TournamentDuelAbsorptionResult
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
Modeling a short-handed duel for first place with fixed per-hand win rate and all-in step size — for study, deal math, or bot planning without full table ICM.
How to use
const poker = require('poker-calculations');
const r = poker.tournamentDuelAbsorptionProbabilities(
25_000,
15_000,
0.55,
5_000,
100_000,
);
console.log('Hero win probability:', r.heroWinProbability);
console.log('Expected hands:', r.expectedHands);
console.log('Hero prize EV:', r.heroPrizeEv);
If winnerPrize is omitted, it defaults to 0 and heroPrizeEv is zero.
Return type
TournamentDuelAbsorptionResult.
See also
icmExpectedPayouts · icmShapleyValues · Tournament, runouts, and bots