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

Method can_double

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

Source from the content-addressed store, hash-verified

187 self.is_insurance = False
188
189 def can_double(self):
190 return self.current_amount() - self.bet_amount >= 0
191
192
193class User:

Callers 2

double_betMethod · 0.95
menuMethod · 0.80

Calls 1

current_amountMethod · 0.95

Tested by

no test coverage detected