UCI: "bestmove xxxx ponder zzzz"

Discussion of chess software programming and technical issues.

Moderator: Ras

benstoker
Posts: 342
Joined: Tue Jan 19, 2010 2:05 am

UCI: "bestmove xxxx ponder zzzz"

Post by benstoker »

If ponder is off, then should a uci engine nevertheless add a "ponder ...." string to the "bestmove ..."? Seems to me that if ponder is off, the engine should simply report "bestmove xxxx" and nothing else.
AlvaroBegue
Posts: 931
Joined: Tue Mar 09, 2010 3:46 pm
Location: New York
Full name: Álvaro Begué (RuyDos)

Re: UCI: "bestmove xxxx ponder zzzz"

Post by AlvaroBegue »

It doesn't hurt to always put the ponder move there. For the most part an engine doesn't need to know if pondering is on or off. The UCI protocol specification explains that the GUI will send this option to the engine "because the engine might change its time management algorithm when pondering is allowed."