Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non card-counters are making profits #2

Open
vtfresh opened this issue Feb 20, 2024 · 4 comments
Open

Non card-counters are making profits #2

vtfresh opened this issue Feb 20, 2024 · 4 comments

Comments

@vtfresh
Copy link
Contributor

vtfresh commented Feb 20, 2024

Something is not right. Players without card counting should be losing money even with perfect basic strategy. Simulations with 75% accurate non-card counters are even making money.
python blackjack.py -b 100000 -h 60000
Figure_1

@cercata
Copy link

cercata commented Aug 28, 2024

Maybe default table conditions are unrealistic ? By default, all 4 are at true:

  • double After Split Offered
  • resplit Aces Offered
  • late Surrender Offered
  • double On Soft Total

@cercata
Copy link

cercata commented Aug 29, 2024

After this commit:
248ccbb

When you start the program, house rules have incorrect values, reverting the change, we get this again:

HOUSE RULES: Dealer stands on 17 | Double after split offered? True | Players can re-split aces? True Surrender offered? True

@cercata
Copy link

cercata commented Aug 29, 2024

If the player has blackjack, it wins automatically:

# Check if the dealt hand is a blackjack and payout immediately if it is if dealtHand.isBlackjack(): self.handlePlayerBlackjack(player, dealtHand) else:

I think in casinos it's not like that

@cercata
Copy link

cercata commented Aug 29, 2024

Also it allways allow double down after split on the code, no matter what's in the house rules ...

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

No branches or pull requests

2 participants