Skip to content

min_raise_size #20

@yffbit

Description

@yffbit

@aikupoker
I have a question.

local min_raise_size = math.min(max_raise_size, math.max(opponent_bet - node.bets[current_player], arguments.ante))

Why opponent_bet - node.bets[current_player]? Not math.max(0, arguments.ante)? Raise action means current player must match opponent's bet first and then put in an additional amount. The gap between two player's bet is not contained in the raise size, just like the code
out[{used_bets_count, current_player}] = opponent_bet + raise_size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions