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

TypeError: Cannot read property 'takeCards' of undefined #52

Open mhluska opened 2 years ago

mhluska commented 2 years ago

The error seems to happen when simulating 3 spots played simultaneously with a large number of hands:

./bin/cli.js simulate --hands 1000000000 --player-bet-spread '$200,$200,$400,$600' --player-wong-out-true-count 2 --allow-late-surrender true --hit-soft17 false --minimum-bet '$200.00' --maximum-bet '$2,000.00' --deck-count 6 --player-spots 3,3,3,3