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

Function TopMove

library/src/dump.cpp:252–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251
252std::string TopMove(
253 const bool val,
254 const MoveType& bestMove)
255{
256 if (val)
257 {
258 std::stringstream ss;
259 ss << "achieved with move " <<
260 card_suit[ bestMove.suit ] <<
261 card_rank[ bestMove.rank ];
262 return ss.str();
263 }
264 else
265 return "failed";
266}
267
268
269int DumpInput(

Callers 1

DumpTopHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected