Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ Chips
Class
Chips
BlackJack_game/blackjack_rr.py:98–107 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
97
98
class
Chips:
99
def
__init__(self):
100
self.total = 100
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
108
109
110
def
take_bet(chips):
Callers
1
blackjack_rr.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected