Helper function if you want to bluff (check/call or bet/raise) with a ceratin probability.
Namespace: Potbot.Gameplay.AisAssembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntaxprotected Decision MaybeDoABluff(
uint bluffProbPer,
int raiseProbPer,
double raisePotTimesMin,
double raisePotTimesMax,
Decision actionNoBluff
)
Protected Function MaybeDoABluff (
bluffProbPer As UInteger,
raiseProbPer As Integer,
raisePotTimesMin As Double,
raisePotTimesMax As Double,
actionNoBluff As Decision
) As Decision
member MaybeDoABluff :
bluffProbPer : uint32 *
raiseProbPer : int *
raisePotTimesMin : float *
raisePotTimesMax : float *
actionNoBluff : Decision -> Decision
Parameters
- bluffProbPer
- Type: SystemUInt32
The probabilty to bluff in percent. Numbers higher than 100 are treated as 100. - raiseProbPer
- Type: SystemInt32
The probabilty to bet/raise in percent, when the case has occured that there is a bluff. Numbers higher than 100 are treated as 100. In all other cases you call/check. - raisePotTimesMin
- Type: SystemDouble
In case bluff and raise occured this is the minimum factor of the pot size to bet/raise. Since MakeRaiseDecision(Double, Double) method is used, the resulting decision will be valid. - raisePotTimesMax
- Type: SystemDouble
In case bluff and raise occured this is the maximum factor of the pot size to bet/raise. Since MakeRaiseDecision(Double, Double) method is used, the resulting decision will be valid. - actionNoBluff
- Type: Potbot.Gameplay.DecisionsDecision
In case no bluff occured, this decision is returned. The probailty for that is 100-bluffProbPer.
Return Value
Type:
DecisionA random decision, based on the parameters.
See Also