Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Polygot can't handle ICS kibitz/whisper

Author: Leo Dijksman

Date: 07:54:13 09/11/05

Go up one level in this thread


On September 11, 2005 at 09:33:07, Daniel Mehrmannn wrote:

>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

From the PolyGlot readme:
---------------------------
- "ShowPonder" (*** NEW ***, default: true)

Show search information during engine pondering.  Turning this off
might be better for interactive use in some interfaces.

- "KibitzMove" (*** NEW ***, default: false)

Whether to kibitz when playing a move.

- "KibitzPV" (*** NEW ***, default: false)

Whether to kibitz when the PV is changed (new iteration or new best move).

- "KibitzCommand" (*** NEW ***, default: "tellall")

xboard command to use for kibitzing, normally "tellall" for kibitzing
or "tellothers" for whispering.

- "KibitzDelay" (*** NEW ***, default: 5)

How many seconds to wait before starting kibitzing.  This has an
affect only if "KibitzPV" is selected, move kibitzes are always sent
regardless of the delay.
---------------------------

Maby that works at ICC/ICS?

Leo.



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.