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

Method deal_card

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

Source from the content-addressed store, hash-verified

482 not_invalid = False
483
484 def deal_card(self):
485 # dealer
486 self.dealer.obtain_card(self.deck, face=False)
487 self.dealer.obtain_card(self.deck)
488
489 # player
490 self.player.obtain_card(self.deck)
491 self.player.obtain_card(self.deck)
492
493 self.dealer.showing()
494 self.player.showing()
495
496 def menu(self):
497 pattern = "HS"

Callers 1

playMethod · 0.95

Calls 2

obtain_cardMethod · 0.80
showingMethod · 0.80

Tested by

no test coverage detected