rushigerrard / Blackjack-ML

Building a blackjack game with agents playing against the dealer using varied ML strategies
0 stars 0 forks source link

Always HIT strategy results in infinite loop #9

Open AbhijeetKrishnan opened 4 years ago

AbhijeetKrishnan commented 4 years ago

A player strategy of always hitting results in an infinite loop due to this while loop. How do we want to handle this? We should be able to have a strategy like this. The TestGame code should break out of the loop once the player has busted.