private double CalculatePotOdds(Pot pot, double raise) { double cost = pot.GetCallCost(player) + raise; double potSize = pot.GetPotSize(); double potOdds = cost / (cost + potSize); return potOdds; }
public override void Fold(Pot pot) { betting = false; if (pot.GetCallCost(this) > 0){ pot.Fold(this); } else { pot.Call(this); } }
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); } }