private Action raise(int amount) { if (canRaise) return ActionUtils.raise( HelperUtils.minMax(amount, raiseAction.getMin(), raiseAction.getMax())); else if (canCall) return call(); else return fold(); }
private Action betMin() { return bet(betAction.getMin()); }
////////////// /////// BETTING ////////////// private Action bet(int amount) { if (canBet) return ActionUtils.bet(HelperUtils.minMax(amount, betAction.getMin(), betAction.getMax())); else if (canCall) return call(); else return fold(); }
private Action raiseMin() { return raise(raiseAction.getMin()); }