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

Method shuffle

blackJackGUI.py:110–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 self.Deck = [Card(suit, rank) for suit in SUITS for rank in RANKS]
109
110 def shuffle(self):
111 random.shuffle(self.Deck)
112
113 def deal_card(self):
114 return random.choice(self.Deck)

Callers 4

start_gameFunction · 0.45
dealer_choiceFunction · 0.45
Memory_game.pyFile · 0.45
game_o_life.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected