Make the bound slightly easier to parse again.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 17 Mar 2016 01:25:35 +0000 (02:25 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 24 Nov 2018 10:17:41 +0000 (11:17 +0100)
src/client.cpp

index 02980b8..5bb480f 100644 (file)
@@ -39,7 +39,10 @@ int main(int argc, char** argv) {
                 << UCI::square(to_sq(Move(response.move()))) << " ";
       switch (response.bound()) {
       case HashProbeResponse::BOUND_NONE:
+        std::cout << "?";
+        break;
       case HashProbeResponse::BOUND_EXACT:
+        std::cout << "==";
         break;
       case HashProbeResponse::BOUND_UPPER:
         std::cout << "<=";
@@ -48,7 +51,7 @@ int main(int argc, char** argv) {
         std::cout << ">=";
         break;
       } 
-      std::cout << UCI::value(Value(response.value())) << " ";
+      std::cout << " " << UCI::value(Value(response.value())) << " ";
       std::cout << response.depth() << std::endl;
     } else {
       std::cout << "ERROR" << std::endl;