MCPcopy
hub / github.com/geekcomputers/Python / rebuilt

Method rebuilt

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

Source from the content-addressed store, hash-verified

95 self.cards[index], self.cards[i] = self.cards[i], self.cards[index]
96
97 def rebuilt(self):
98 self.cards.clear()
99 self.built()
100
101 def deliver(self):
102 return self.cards.pop()

Callers 1

initial_gameMethod · 0.80

Calls 2

builtMethod · 0.95
clearMethod · 0.80

Tested by

no test coverage detected