Page 1 of 1

Call flag

PostPosted: 19 Oct 2004, 18:26
by beco
Hi dear all,

What is the command the engine must print out to "call flag" when the opponent is out of time?

Thank you,
Beco.
---
Xadreco Chess Engine v.5.0.
http://www.geocities.com/pag_sax/xadreco/

Re: Call flag

PostPosted: 19 Oct 2004, 18:44
by Peter Fendrich
beco wrote:Hi dear all,

What is the command the engine must print out to "call flag" when the opponent is out of time?

Thank you,
Beco.
---
Xadreco Chess Engine v.5.0.
http://www.geocities.com/pag_sax/xadreco/


Hi Beco,
You shouldn't print anything!
Under winboard/xboard it is not the engine that detects if the opponent is out of time. It's the GUI. The same goes for UCI.
/Peter

Re: Call flag

PostPosted: 19 Oct 2004, 19:04
by beco
Peter Fendrich wrote:Hi Beco,
You shouldn't print anything!
Under winboard/xboard it is not the engine that detects if the opponent is out of time. It's the GUI. The same goes for UCI.
/Peter


Hi dear Peter,
Thank you for your prompt answer. I was really expecting a command like "flag" (in the matter of fact, I tried it! :D ). But now this bad news... Maybe we can suggest it to Tim Mann? :(

Best wishes,

Beco.

Re: Call flag

PostPosted: 19 Oct 2004, 19:44
by José Carlos
Hi Beco and welcome here.
I prefer the GUI takes control of flags because that makes engine's simpler. Note that you would need to know exactly when the opponent sent its move to winboard/arena in order to be sure about a time forfeit. Every GUI has some (small, but real) delay, so it's better IMO to let the GUI control that.