Author: Daniel Mehrmannn
Date: 23:20:08 12/14/04
Go up one level in this thread
On December 14, 2004 at 23:54:59, Daniel Shawul wrote:
>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 :)
>
>/////////////
>
> Does this mean the engine should have a code to play on the internet.
>How difficult is this to write? How many engines have it?
>
>Daniel
If your engine support the wb2 protocol and you use the winboard/xboard you
really don't need extra code in your engine. Its very easy:
1) strings that beginns with "tellics", "kibitz" or "whisper" will
winboard/xboard
directly pass, without any changes, to the internet chess server.
The internet chess server interpret:
a) kibitz to show the strings after kibitz for all observers and payer (we need
that for cct)
b) whisper to show strings only for observers
code example in my engine:
If wb push the "name" command i do:
if (!strcmp(command, "name")) {
printf("kibitz Homer %s says hello \n", VERSION);
continue;
}
or after playing the best move:
printf("kibitz ");
printf("depth=%d/%d score=%+.2f nps=%dK pv ->",
depth, PeakPly, ....;
....
printf("\n");
hope that helps.
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.