def __init__(self, card_game):
    self.game = card_game
    self.cards = list()
    for suit in self.game.suits:
        for rank in self.game.ranks:
            self.cards.append(Card(suit, rank))
def __init__(self, card_game):
    self.game = card_game
    self.cards = list()
    for suit in self.game.suits:
        for rank in self.game.ranks:
            self.cards.append(Card(suit, rank))