Пример #1
0
 private double CalculatePotOdds(Pot pot, double raise)
 {
     double cost = pot.GetCallCost(player) + raise;
     double potSize = pot.GetPotSize();
     double potOdds = cost / (cost + potSize);
     return potOdds;
 }
Пример #2
0
 public override void Fold(Pot pot)
 {
     betting = false;
     if (pot.GetCallCost(this) > 0){
         pot.Fold(this);
     } else {
         pot.Call(this);
     }
 }
Пример #3
0
 public override void Fold(Pot pot)
 {
     if (pot.GetCallCost(this) > 0){
         QueueAction(new NoBetAction(actor, "I fold."), true);
         pot.Fold(this);
         busy = true;
     } else {
         Call(pot);
     }
 }