Removed logs

This commit is contained in:
Andrzej Preibisz 2023-02-02 18:27:44 +01:00
parent bfad9cbae2
commit 419fbd5067
2 changed files with 0 additions and 4 deletions

View File

@ -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])

View File

@ -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: