Skip to content

Commit

Permalink
Add info print when NoobBook doesn't return a move to play (#710)
Browse files Browse the repository at this point in the history
No functional change 

Bench: 23621947
  • Loading branch information
TerjeKir authored Jan 26, 2024
1 parent a478f3c commit 99372c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/noobprobe/noobprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@


bool NoobBook;
int failedQueries;
int NoobLimit;
int failedQueries;


// Probes noobpwnftw's Chess Cloud Database
Expand All @@ -49,7 +49,7 @@ bool ProbeNoob(Position *pos) {

// On success the response will be "move:[MOVE]"
if (strstr(response, "move") != response)
return failedQueries++, false;
return printf("info string NoobBook: %s\n", response), failedQueries++, false;

Threads->rootMoves[0].move = ParseMove(&response[5], pos);

Expand Down

0 comments on commit 99372c2

Please sign in to comment.