Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I still have problems with kibitzing

Author: Uri Blass

Date: 00:59:18 01/14/03

Go up one level in this thread


On January 14, 2003 at 03:49:50, Uri Blass wrote:

>On January 14, 2003 at 03:37:03, Uri Blass wrote:
>
>>On January 14, 2003 at 03:32:34, Sune Fischer wrote:
>>
>>>On January 14, 2003 at 03:22:20, Uri Blass wrote:
>>>
>>>>I now see that I cannot play games under winboard
>>>>
>>>>Winboard always give me a box in automatic comp-comp games under winboard(games
>>>>on one computer).
>>>>
>>>>I thought that winboard ignore tellall information when I play under winboard
>>>>but it does not do it.
>>>>
>>>>I guess that I need to implement something that tell me if I play under winboard
>>>>or not
>>>
>>>You mean if you are connected to a chess server or not?
>>>
>>>There is an ICS command in winboard, from the protocol:
>>>
>>>"ics HOSTNAME
>>>If HOSTNAME is "-", the engine is playing against a local opponent; otherwise,
>>>the engine is playing on an Internet Chess Server (ICS) with the given hostname.
>>>This command is new in protocol version 2 and is not sent unless the engine has
>>>enabled it with the "feature" command. Example: "ics freechess.org" "
>>>
>>>-S.
>>
>>Do you say that the only way to play as an automatic player with kibitching and
>>also to support winboard so that Movei can play games automatically under
>>winboard is to support that command?
>>
>>Uri
>
>OI can add that I will do it but the point was that I believed that implementing
>kibitz command is easy under winboard and I even read that it is only 3 minutes
>if I am a slow typer.
>
>It is clearly more than it.
>
>Uri

I can add also that for me finding the right places to change is also time
For example
I now changed a line by adding ics=1
finding the line took me a minute.

Here is the new line

printf("feature setboard=1 draw=0 analyze=1 ping=1 ics=1 done=1\n");

Now I need to add ics code and I am not sure about it

if (!strcmp(command, "ics"))
{
}

Should I do the same as I do in the level command and read the next string after
ics and to tell the computer that it is playing on ICC if the string is
different than "-"?

Uri



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.