Computer Chess Club Archives


Search

Terms

Messages

Subject: Polygot can't handle ICS kibitz/whisper

Author: Daniel Mehrmannn

Date: 06:33:07 09/11/05

Go up one level in this thread


On September 10, 2005 at 19:13:24, Andrew Williams wrote:

>On September 10, 2005 at 17:27:06, Engin Üstün wrote:
>
>>On September 10, 2005 at 10:52:33, Peter Skinner wrote:
>>
>>>Hello again,
>>>
>>>Well it seems others were waiting for the first person to kick their hat into
>>>the fray before signing up. :)
>>>
>>>There are two more entrants: PostModernist, Quark
>>>
>>>Enjoy :)
>>>
>>>http://www.cctchess.com
>>>
>>>Peter
>>
>>Hello Peter,
>>i can't understand the rules...
>>
>>>>1. No manually operated programs, and all programs must kibitz their evaluation, and book moves/TB hits if possible. Providing as much information as possible for the viewers and participants is key here. It should also be noted that 1-3 lines of text is sufficient. No need to scroll out an entire page :)
>>
>>i am playing with my engine on ICC with the winboard GUI + polyglot UCI2WB
>>adapter, but i don't know if the informations (evaluation scores, pv) are
>>displaying by winboard on ICC.
>>
>>
>>best wishes,
>>Engin
>
>Hi Engin,
>
>I don't know about polyglot, but my xboard implementation does this:
>
>void ics_output_eval() {
>	char evalString[512];
>	int items;
>	int tim, nps;
>	char pvString[1024];
>	char scoreStr[16];
>
>	nps = (NODES*100) / (1+time_taken(gameWhoseTurn));
>	tim = time_taken(gameWhoseTurn)/100;
>
>	if(opponentIsComputer) {
>		int i;
>
>		sprint_pv(&PV, pvString);
>		for(i=60; i >= 0; i--) {
>			if(pvString[i] == 0) break;
>			if(pvString[i] == ' ') {
>				pvString[i] = 0;
>				if(pvString[i-1] == '.') continue;
>				break;
>			}
>		}
>		score_to_string(lastValidScore, scoreStr, TRUE);
>		items = sprintf(evalString, "tellics kibitz PM: depth=%d
>                                score=%s time=%d nps=%d egtbprobes=%d
>                                egtbhits=%d PV: %s\n", lastCompletedDepth,
>                                scoreStr, tim, nps, egtbProbes, egtbHits,
>                                pvString);
>	} else {
>		score_to_string(lastValidScore, scoreStr, TRUE);
>		items = sprintf(evalString, "tellics whisper PM: depth=%d
>                                score=%s time=%d nps=%d egtbprobes=%d
>                                egtbhits=%d\n", lastCompletedDepth, scoreStr,
>                                tim, nps, egtbProbes, egtbHits);
>	}
>
>	xbd_write(evalString);
>
>}
>
>As you can see, the key thing is the bit where it says "tellics kibitz ....".
>tellics tells xboard (or winboard) to send something to ics without doing any
>interpretation on it.
>
>Feel free to copy/adapt/modify this small piece of code if you find it helpful.
>This applies to anyone who wishes to use it.
>
>Andrew


The question is if polygot will pass this stuff. If i'm not wrong i would say
expect X- /Winboard all known GUI's or adapters block this stuff :((

I'm pretty sure that polygot not has a special rule for "info string
tellics...", because its not defined in UCI protocol.


But you can change polygot of course ;)

Best,
Daniel





This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.