simulateEquityVsRange
Monte Carlo equity vs a weighted villain range.
simulateEquityVsRange(heroHoleCards, boardCards, range, numSimulations, seed): number
Import
const poker = require('poker-calculations');
When to use
Use when exact enumeration is too heavy or the board is not yet complete for your exact path.
How to use
const poker = require('poker-calculations');
const eq = poker.simulateEquityVsRange(
['Ah', 'Kh'],
['Qh', 'Jh', 'Th'],
{ indices: [10, 11], weights: [1] },
10_000,
42,
);