Computer Chess Club Archives


Search

Terms

Messages

Subject: About new UCI protocol

Author: Christophe Drieu

Date: 09:06:02 05/16/04


Hi,

One thing that disturb some people in UCI protocol is the fact that GUI send all
moves
play from the begining of the game for each new move play on the board. Uci 2
can resolve
a part of this trouble. I add this in my T.rex and it seems to work fine:

Pseudo code:

if not ucinewgame
{
	if (moves string length > last moves string length)
	{
		just play new moves
	}
	else if (moves string length < last moves string length)
	{
		remove (int)((last moves string length-moves string length)/5) moves
	}
	else /* bad ponder */
	{
		remove last move and play just one move
	}

	last moves string length=moves string length
}
else
{
	Play all position string moves
	last moves string length=moves string length

}


I hope Chessbase anf lokasoft will add UCI new feature soon ;-)



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.