| 250 | |
| 251 | |
| 252 | std::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 | |
| 269 | int DumpInput( |