Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I still have problems with kibitzing

Author: Andrzej Nagorko

Date: 02:32:45 01/14/03

Go up one level in this thread


On January 14, 2003 at 04:49:04, Uri Blass wrote:
<snip>

>
>I did it
>I do not know what is the problem
>
>Here is my code
>
>if (kibitzing)
>	{
>		if (computer)
>			printf("kibitz ");
>		else
>			printf("whisper ");
>			printpv(k,x);
>	}
>
>Uri

  This is quote from xboard documentation:

  "All your output to xboard must be in complete lines; any form of prompt or
partial line will cause problems."

  So you should use sprintf to construct one line of output and only then use
printf to send it to winboard.

Andrzej



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.