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

Method __init__

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

Source from the content-addressed store, hash-verified

97
98class Chips:
99 def __init__(self):
100 self.total = 100
101 self.bet = 0
102
103 def win_bet(self):
104 self.total += self.bet

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected