Himan10 / BlackJack

Hand of Black Jack ...
6 stars 6 forks source link

Ace value does not change to 1 when hand value is >= 11 #1

Closed SHDigitalServices closed 4 years ago

SHDigitalServices commented 4 years ago

Hi,

I am new to python and trying to learn.. First project is to build a blackjack game, so really enjoy your code, very impressive. However I noticed that the value of an Ace does not change when the hand value is >= 11

image

Himan10 commented 4 years ago

@PythonStudyDK Hey, thanks man for the feedback .. I'll fix it in a couple of days and let you know. if you've any suggestions or you faced some other errors then please tell. Thanks

Himan10 commented 4 years ago

@PythonStudyDK Hey, I reconfigured adjust_for_ace() function and now it's possible to grow and shrink our Ace value ... Test it again and if you encounter any other issue then please let me know. @ghazigamer Partner, you should check it as well ... it looks updated now.