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

Method current_amount

BlackJack_game/blackjack_simulate.py:180–181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 self.is_insurance = True
179
180 def current_amount(self):
181 return self.amount - self.bet_amount - self.insurance
182
183 def reset_chip(self):
184 self._bet_amount = 0

Callers 5

can_doubleMethod · 0.95
refresh_promptMethod · 0.80
menuMethod · 0.80
chips_manageMethod · 0.80
calculate_chipsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected