Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __init__(self, deck: Deck, view: 'BlackjackView'):
- """
- Start new blackjack game.
- :param deck: deck to draw cards from.
- :param view: view to communicate with.
- """
- if deck.is_shuffled is False:
- deck.shuffle()
- if deck.is_shuffled is True:
- self.player = Hand()
- self.PyCharm = Hand()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement