]> git.sesse.net Git - stockfish/commitdiff
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>
Wed, 26 Dec 2018 09:43:37 +0000 (10:43 +0100)
src/client.cpp

index 02980b8d4cb5aff56a4b110db14ca2a2754a450e..5bb480fa8d212428cae94c1f6ed648f4c4eee147 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:
                 << UCI::square(to_sq(Move(response.move()))) << " ";
       switch (response.bound()) {
       case HashProbeResponse::BOUND_NONE:
+        std::cout << "?";
+        break;
       case HashProbeResponse::BOUND_EXACT:
       case HashProbeResponse::BOUND_EXACT:
+        std::cout << "==";
         break;
       case HashProbeResponse::BOUND_UPPER:
         std::cout << "<=";
         break;
       case HashProbeResponse::BOUND_UPPER:
         std::cout << "<=";
@@ -48,7 +51,7 @@ int main(int argc, char** argv) {
         std::cout << ">=";
         break;
       } 
         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;
       std::cout << response.depth() << std::endl;
     } else {
       std::cout << "ERROR" << std::endl;