|
|
|
|
@ -228,7 +228,7 @@ class ActionList(var listener: ActionListListener? = null) : ArrayList<ComputedA |
|
|
|
|
Action.Type.RAISE_ALLIN, Action.Type.BET_ALLIN -> { |
|
|
|
|
if (remainingStack != null && actionAmount != null && remainingStack <= actionAmount) { |
|
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL) |
|
|
|
|
} else if (activePositions(index).size == 2 && remainingStack != null && actionAmount != null && remainingStack > actionAmount) { |
|
|
|
|
} else if (activePositions(index).size == 1 && remainingStack != null && actionAmount != null && remainingStack > actionAmount) { |
|
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL) |
|
|
|
|
} else { |
|
|
|
|
setOf(Action.Type.FOLD, Action.Type.CALL, Action.Type.POT, Action.Type.RAISE, Action.Type.UNDEFINED_ALLIN) |
|
|
|
|
|