Code: Select all
info kibbitz <str>: relay <str> to the opponent and all observers
info say <str>: relay <str> to the opponent
info whisper <str>: relay <str> to observers
Moderator: Ras
Code: Select all
info kibbitz <str>: relay <str> to the opponent and all observers
info say <str>: relay <str> to the opponent
info whisper <str>: relay <str> to observers
Your point about compatibility is reasonable. I wanted to avoid just using "info string" to do the job, since it's ugly and explicitly breaks the semantics of the command, but maybe it's worth it for compatibility. What is your view on kibitzing moves from an engine's own book? I think I remember that you proposed sending an info string with a pv that indicates that it's a book move, but I'm afraid that also breaks most UCI parsers.hgm wrote: Of course having engines kibitz their PVs and evaluations is really something that should be _strongly_ discouraged. For the sake of uniformity this should be a GUI task. Having engines do it would only lead to every engine using its own format, unintellegible to the ICS and the opponent's GUI. So it would break the very desirable feature of having the depth/score information of _both_ engines in the PGN file, which you would have if you would let the GUI kibitz in the standard format.
Code: Select all
info kibbitz string <str>: relay <str> to the opponent and all observers
info say string <str>: relay <str> to the opponent
info whisper string <str>: relay <str> to observers
In principle you can embed whatever info you want in a plain info string without modifying UCI whatsoever, but this leads to an informally specified, conceptually messy format that requires a separate parse of the resulting string to figure out what it means. I think that should be avoided if at all possible.UCI Spec wrote:* if the engine or the GUI receives an unknown command or token it should just ignore it and try to parse the rest of the string in this line.
Examples: "joho debug on\n" should switch the debug mode on given that joho is not defined, "debug joho on\n" will be undefined however.