Skip to content

Conversation

@AttackingOrDefending
Copy link
Owner

@AttackingOrDefending AttackingOrDefending commented Jan 8, 2025

Type of pull request:

  • Bug fix
  • Feature
  • Other

Description:

There was a bug where the player would bet after being dealt the cards. The player wouldn't use the cards to adjust their bet according to the specific EV of this combination, but rather it affected the calculation of the true count which affected the bet.

It also includes some minor fixes for splitting, and improves the calculation of the risk of ruin.

Related Issues:

#7
A lot of thanks to @bjwxh, who discovered the issue and found the cause of the bug.

Checklist:

  • I have read and followed the contribution guidelines.
  • I have added necessary documentation (if applicable).
  • The changes pass all existing tests.

Screenshots (if applicable):

@AttackingOrDefending AttackingOrDefending changed the title Fix bug where player would bet after being dealt the cards Fix bug where the player would bet after being dealt the cards Jan 8, 2025
@AttackingOrDefending AttackingOrDefending merged commit 8bfa1e5 into main Jan 8, 2025
14 checks passed
@AttackingOrDefending AttackingOrDefending deleted the ev-bet-fix branch January 8, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants