MCPcopy Create free account
hub / github.com/dds-bridge/dds / equals_to_string

Function equals_to_string

examples/hands.cpp:295–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293
294
295auto equals_to_string(int equals, char * res) -> void
296{
297 int pos = 0;
298 int mask = equals >> 2;
299 for (int i = 15; i >= 2; i--)
300 {
301 if (mask & static_cast<int>(bit_map_rank_[i]))
302 res[pos++] = static_cast<char>(card_rank_chars_[i]);
303 }
304 res[pos] = 0;
305}
306
307
308auto compare_future_tricks(FutureTricks * fut, int handno, int solutions) -> bool

Callers 1

print_future_tricksFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected