Skip to content

Commit

Permalink
more testing, changed play hand >= operator to fix outcome when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jlat07 committed Apr 21, 2020
1 parent 6e6ebd4 commit d7f8312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def play_hand(deck: Deck, name: Hand):
'''
This is where the player deciedes to hit or stay
'''
while name.count <= 21:
while name.count < 21:
I = input("h: to Hit or s: to Stand: ")
I = I.lower()
if I == 'h':
Expand Down

0 comments on commit d7f8312

Please sign in to comment.