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

Function hit

BlackJack_game/blackjack_rr.py:126–128  ·  view source on GitHub ↗
(deck, hand)

Source from the content-addressed store, hash-verified

124
125
126def hit(deck, hand):
127 hand.add_card(deck.deal())
128 hand.adjust_for_ace()
129
130
131def hit_or_stand(deck, hand):

Callers 2

hit_or_standFunction · 0.70
blackjack_rr.pyFile · 0.70

Calls 3

dealMethod · 0.80
adjust_for_aceMethod · 0.80
add_cardMethod · 0.45

Tested by

no test coverage detected