sprAfterCall
SPR after a call: remaining stack divided by new pot (heads-up single call).
sprAfterCall(potBeforeCall: number, toCall: number, effectiveStackBeforeCall: 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
Plan post-flop lines by SPR after you call one bet heads-up. New pot = potBeforeCall + 2×toCall; remaining stack = effectiveStackBeforeCall − toCall. Throws if toCall exceeds stack.
How to use
const potBeforeCall = 90;
const toCall = 30;
const stack = 270;
const sprPost = poker.sprAfterCall(potBeforeCall, toCall, stack);
console.log(sprPost);
// new pot 150, stack left 240 → SPR 1.6
console.log(poker.spr(potBeforeCall, stack)); // pre-call SPR