示例#1
0
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")
示例#2
0
 def __init__(self):
     self.hand = deck.Hand()
示例#3
0
 def setUp(self):
     self.playerHand = deck.Hand('player')
     self.deck1 = deck.Deck()
示例#4
0
 def setUp(self):
     self.playerHand = deck.Hand('player')
     self.dealerHand = deck.Hand('dealer')
示例#5
0
 def __init__(self):
     self.money = 10
     self.hand = deck.Hand()