X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=engine-intf.html;h=3b7cb6cd3262a9788c85349c501c3d10ae33babe;hb=51e9503489f2cee28a076bf52c56185a5283b069;hp=1546cc8eff457942bea209cb846d439b5aa5a7cf;hpb=0e7f7e83819009617f11f8f4accda876fd252c0d;p=xboard.git diff --git a/engine-intf.html b/engine-intf.html index 1546cc8..3b7cb6c 100644 --- a/engine-intf.html +++ b/engine-intf.html @@ -1799,11 +1799,42 @@ output should be in the following format:
+The items marked with * are optional. +If any of these items is present, the pv field must be preceeded directly by a tab character; +if no tab character preceeds the first non-integer token, +the pv field will start at the first non-blank character after nodes. +Otherwise it will start after the last tab that is not behind any non-integer token. +Of all integers between nodes and pv the last one is intepreted as tbhits. +Of any remaining ones the first is interpreted as selective depth, +and a second as speed. +More infos could be added to this in the future. +Note that older interfaces might consider the optional infos to be part of the pv field, +and display them exactly as sent. +It is therefore encouraged that engines use tabs or spaces to format this optional info +so that it will display nicely in (not too wide) columns. +
+ ++A question mark as the last character in the pv field should be used to indicate +the reported score is from a fail low, and thus represents an upper bound only. +Similarly, an exclamation point should be used to indicate a fail high / lower bound. +
+ ++Mate scores should be indicated as 100000 + N for "mate in N moves", +and -100000 - N for "mated in N moves". +
+Example: