MCPcopy Index your code
hub / github.com/geekcomputers/Python / win_bet

Method win_bet

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

Source from the content-addressed store, hash-verified

101 self.bet = 0
102
103 def win_bet(self):
104 self.total += self.bet
105
106 def lose_bet(self):
107 self.total -= self.bet

Callers 2

player_winsFunction · 0.80
dealer_bustsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected