MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

322
323class Recorder:
324 def __init__(self):
325 self.data = []
326 self.winner = None
327 self.remain_chips = 0
328 self.rounds = 0
329 self.player_win_count = 0
330 self.dealer_win_count = 0
331 self.player_point = 0
332 self.dealer_point = 0
333
334 def update(self, winner, chips, player_point, dealer_point):
335 self.rounds += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected