UCI Pondering workaround

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
hgm
Posts: 23728
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: UCI Pondering workaround

Post by hgm » Sun Jul 15, 2018 4:36 am

I don't think he meant he wants the engine to do anything in the opponent's time in ponder-off games. Just that he wants to use any ponder time he gets in the way he seems fit. Which is explicitly allowed by the UCI standard; it just says that if you do not use it for obeying a 'go ponder' command, you should not have the engine print PV info, because this might confuse the GUI. (E.g. if you are pondering on another position than the one reached by the ponder move.)

Be sure to support the option Ponder, however, to make sure the engine knows whether it is playing a ponder game or not, and only use CPU when not on move if this option is set.

As mentioned earlier, you can prevent a typical GUI from sending 'go ponder' even in ponder-on games by simply refraining from giving a ponder move in your 'bestmove' commands.

Post Reply