|
|
|
@ -220,7 +220,7 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>() |
|
|
|
} |
|
|
|
} |
|
|
|
Action.Type.BET, Action.Type.POT, Action.Type.RAISE -> { |
|
|
|
Action.Type.BET, Action.Type.POT, Action.Type.RAISE -> { |
|
|
|
if (remainingStack != null && actionAmount != null && remainingStack <= actionAmount) { |
|
|
|
if (remainingStack != null && actionAmount != null && remainingStack <= actionAmount) { |
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL_ALLIN) |
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL, Action.Type.POT, Action.Type.RAISE, Action.Type.UNDEFINED_ALLIN) |
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL, Action.Type.POT, Action.Type.RAISE, Action.Type.UNDEFINED_ALLIN) |
|
|
|
} |
|
|
|
} |
|
|
|
|