blackjack-simulator
blackjack-simulator copied to clipboard
House edge value should not change with player bet spread
Currently the house edge is calculated by looking at amount wagered vs amount earned which of course will change based on the player decisions. One option here is to first run the simulator with flat betting and perfect basic strategy to get an accurate house edge. The other is to just estimate the house edge based on rules (e.g. double after split adds 0.x% etc).
Unfortunately I don't think the second option will work, I tried simulating the rule change of H17 and S17 when you're flat betting vs with a giant bet spread and the effect of H17/S17 on EV was different between the two (0.2 vs 0.03). (Side note: Aren't the first two numbers too low? I feel like the house edge shouldn't be negative when you're flat betting and only playing basic strategy...)
Running a separate simulation with flat betting would be more accurate, although annoying to run every time. Or similar to #33 hard-coded values could work if you were to "memoize" the simulated house edge for every combination of house rules with flat betting + basic strategy.