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

Method is_surrender

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

Source from the content-addressed store, hash-verified

564 self.go_on = False
565
566 def is_surrender(self):
567 if self.choice == "Surrender":
568 self.player.speak("Sorry, I surrender....\n")
569
570 def get_winner(self):
571 if self.bust:

Callers 1

playMethod · 0.95

Calls 1

speakMethod · 0.80

Tested by

no test coverage detected