mhluska / blackjack-simulator

🃏 Realistic blackjack simulator (practice card counting using Hi-Lo and calculate EV for any table conditions)
https://mhluska.github.io/blackjack-atlas
MIT License
51 stars 14 forks source link

Dealer can get an impossible hand, leads to deal(press any key) not working when user hits a key #64

Closed cmlcode closed 10 months ago

cmlcode commented 10 months ago

image

When user presses normal play button (s, h), it plays the action on their next hand as seen here (after pressing s):

image

If any other button is pressed, nothing happens.

mhluska commented 9 months ago

Thanks for the bug report. I think the issue here is that deal is only triggered by certain keys rather than any key as it says. I can fix that.

The other part about it playing the next hand seems to just be losing immediately to the dealer's blackjack. I could update the text to make it more clear.