Removed logs
This commit is contained in:
parent
bfad9cbae2
commit
419fbd5067
@ -360,9 +360,6 @@ def getDecision(dealerCard, playerCards, isPair):
|
||||
Returns:
|
||||
str: decision
|
||||
"""
|
||||
print(dealerCard)
|
||||
print(playerCards)
|
||||
print(isPair)
|
||||
playerCardsNum = len(playerCards)
|
||||
if 1 in playerCards: # soft hand
|
||||
playerCardsVal = sum([x if x != 1 else 10 for x in playerCards])
|
||||
|
1
cards.py
1
cards.py
@ -95,7 +95,6 @@ def AI(hand: list, face_up: str, losses_in_row: int) -> str:
|
||||
is_pair = any([hand.count(val) > 1 for val in vals])
|
||||
decision = ''
|
||||
decision = getDecision(face_up, hand, is_pair)
|
||||
print(decision)
|
||||
return decision
|
||||
|
||||
def show_game_state(player_hand: list, dealer_hand: list, splited: bool, decision: str='') -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user