MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

BlackJack_game/blackjack_rr.py:81–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79
80class Hand:
81 def __init__(self):
82 self.cards = []
83 self.value = 0
84 self.aces = 0 # to keep track of aces
85
86 def add_card(self, card):
87 self.cards.append(card)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected