MCPcopy 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
91def _rank(card: str) -> int:
92 return RANK_ORDER.index(card[0])
93
94
95def _trick_winner(trick: list[dict], trump: str | None) -> int:

Callers 1

_trick_winnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected