def convert_row_to_hand(row): cards = [] for card_str in row: cards.append(deck.to_card(card_str)) return deck.Hand(cards) #filename = "Example Spreadsheets/2017.12.22 1 Oh Heck Score Sheet.xlsx" #num_cards, trumps, hands = get_player_hands_data(filename, "Ian")
def __init__(self): self.hand = deck.Hand()
def setUp(self): self.playerHand = deck.Hand('player') self.deck1 = deck.Deck()
def setUp(self): self.playerHand = deck.Hand('player') self.dealerHand = deck.Hand('dealer')
def __init__(self): self.money = 10 self.hand = deck.Hand()