Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeClash-ai/CodeClash
/ _rank
Function
_rank
codeclash/arenas/bridge/replay.py:91–92 ·
view source on GitHub ↗
(card: str)
Source
from the content-addressed store, hash-verified
89
90
91
def
_rank(card: str) -> int:
92
return
RANK_ORDER.index(card[0])
93
94
95
def
_trick_winner(trick: list[dict], trump: str | None) -> int:
Callers
1
_trick_winner
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected