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

Method initial_game

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

Source from the content-addressed store, hash-verified

448 print("\n" + "-" * 20 + " End Game " + "-" * 20)
449
450 def initial_game(self):
451 self.go_on = True
452 self.first_hand = True
453 self.choice = None
454 self.winner = None
455 self.bust = False
456 self.deck.rebuilt()
457 self.deck.shuffle()
458 self.player.chips.reset_chip()
459 self.player.drop_card()
460 self.player.refresh_prompt()
461 self.dealer.drop_card()
462 print("\n" + "-" * 20 + " Start Game " + "-" * 20)
463
464 def in_bet(self):
465 in_bet = "\n\tI want to bet: "

Callers 1

playMethod · 0.95

Calls 5

rebuiltMethod · 0.80
reset_chipMethod · 0.80
drop_cardMethod · 0.80
refresh_promptMethod · 0.80
shuffleMethod · 0.45

Tested by

no test coverage detected