When running under XBoard, printing a board would be seen as Thinking
Output. Now the board lines are prefixedwith #, as CECP requires.
{
int r, f;
printf("\n%s\n", msg);
- for(r=0; r<ranks; r++) for(f=0; f<22; f++) printf(" %02x%s", b[22*r+f], (f == 10 ? sep : f== 21 ? "\n" : ""));
+ for(r=0; r<ranks; r++) for(f=0; f<22; f++) printf("%s %02x%s", (f==0 ? "#" : ""), b[22*r+f], (f == 10 ? sep : f== 21 ? "\n" : ""));
}
void