Skip to content

Commit

Permalink
Update preflop strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Gongsta committed Jun 22, 2024
1 parent 914f243 commit b11068d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/preflop_holdem.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def actions(self):
- k ("check")
- bMIN ("bet pot")
- bMID ("bet 2x pot size")
- bMAX ("bet 4x pot size")
- bMAX ("all-in")
- c ("call")
- f ("fold")
Expand Down Expand Up @@ -201,9 +201,8 @@ def _get_total_pot_size(self, history):
stage_total = latest_bet + 2 * stage_total # bet 2x pot
latest_bet = 2 * old_stage_total
elif action == "bMAX":
old_stage_total = stage_total
stage_total = latest_bet + 4 * stage_total # bet all in
latest_bet = 4 * old_stage_total
stage_total = latest_bet + 100 # bet all in
latest_bet = 100
elif action == "c":
stage_total = 2 * latest_bet # call

Expand Down
Binary file modified src/preflop_infoSets_batch_19.joblib
Binary file not shown.

0 comments on commit b11068d

Please sign in to comment.