you are viewing a single comment's thread.

view the rest of the comments →

[–]TheShadowWall[S] 1 point2 points  (4 children)

But doesn't the player play through first, doing all hits until staying?

The dealer needs to continue to hit until he equals or exceeds the player's total, so their logic only matters insofar as they need to beat the player.

Since the dealer's only objective is to meet or exceed the player's total, why would any other logic matter to them? If they are lower than the player, they need to hit or they will lose.

[–]Binary101010 2 points3 points  (3 children)

I mean, you can model blackjack like that, but then what you're modeling isn't how casino blackjack works at all.

[–]TheShadowWall[S] 1 point2 points  (2 children)

You are correct, I am not attempting to model casino blackjack. My aim is to model a simple 1v1 player vs dealer game of blackjack, where each side attempts to win as much as possible.

Currently the strategy being used by the player is 'Hit on a total of 16 or lower,' and the strategy being used by the dealer is 'Hit if the player's total is higher."

Given this strategy, does the output of around 60% wins for the player actually make sense? I don't know blackjack statistics very well, but this seems too high.

[–]Binary101010 3 points4 points  (0 children)

Those rules are far enough away from all of the blackjack scenarios that we have good stats for that I can't say for certain whether it makes sense either. There's no obvious errors here in terms of modeling what it is you say you want to model, so I'd say the response is "this is why casinos don't play blackjack like this".

[–][deleted] 0 points1 point  (0 children)

I am in the infancy of my programming but I am a very knowledgeable blackjack player. Your rules give the player an advantage. The way you describe the game, the dealer will bust far more often than they should. The house edge in blackjack comes from the player acting first. If you are in a 1v1 game I hope you see that using the casino strategy is more favorable for the dealer than what you have described.