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

Method __init__

BlackJack_game/blackjack_simulate.py:296–298  ·  view source on GitHub ↗
(self, name, amount)

Source from the content-addressed store, hash-verified

294
295class Player(User):
296 def __init__(self, name, amount):
297 super().__init__(name=name, chips_amount=amount, role="Player", color="CYAN")
298 self.refresh_prompt()
299
300 def refresh_prompt(self):
301 self.prompt = "{role} [ ${remain} ] >> ({name}) : ".format(

Callers

nothing calls this directly

Calls 2

refresh_promptMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected