Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
126
def
hit(deck, hand):
127
hand.add_card(deck.deal())
128
hand.adjust_for_ace()
129
130
131
def
hit_or_stand(deck, hand):
Callers
2
hit_or_stand
Function · 0.70
blackjack_rr.py
File · 0.70
Calls
3
deal
Method · 0.80
adjust_for_ace
Method · 0.80
add_card
Method · 0.45
Tested by
no test coverage detected