Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 private Action betMin() {
   return bet(betAction.getMin());
 }
Esempio n. 3
0
 //////////////
 /////// 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();
 }
Esempio n. 4
0
 private Action raiseMin() {
   return raise(raiseAction.getMin());
 }