Author: Uri Blass
Date: 02:48:13 02/11/02
Go up one level in this thread
On February 10, 2002 at 18:05:53, Miguel A. Ballicora wrote:
>On February 10, 2002 at 13:52:33, Uri Blass wrote:
>
>>I started to read tim mann page
>>
>>http://www.tim-mann.org/xboard/engine-intf.html
>>
>>I see that tscp that is a winboard engine does not know about a lot of commands.
>>
>>I think that it may be better if the first thing that they describe there is
>>only the commands that are needed to play a game under winboard.
>
>I do not think so, that document is a standard, not a guide. It is not Tim's
>Job to write a guide, in fact it is ours. It might be nice to have it _besides_
>the standard that Tim wrote.
>
>>I find that the second command protover N is not needed to play a game because
>>tscp that does not know about it can play under winboard.
>
>As Jose points out, TSCP uses protocol I. Protocol II will make your like
>easier because you do not have to guess when the GUI is sending a move
>discarding all the other possible commands. It sends it after usermove.
>I strongly suggest that, it just requires to send feature usermove=1 (check the
>syntax) and the GUI will send you
>
>usermove e2e4
>
>rather than
>
>e2e4
>
>>It is better to describe a game and the exact commands that winboard send the
>>engine and not to start by giving a lot of information that most of it is not
>>relevant for programmers who want only to tell their program to play under
>>winboard.
>
>If you are very eager you can use the commands that TSCP uses. It should be
>very easy in your case since you studied that code very much.
I copied it with some changes and it was not so easy for me.
I have some errors when I copied tscp commands
The first error was illegal move and
I needed to write
from = line[0] - 'a'+ 8 * ((line[1] - '1'));
to = line[2] - 'a'+8 * ((line[3] - '1'));
instead of
from = line[0] - 'a';
from += 8 * (8 - (line[1] - '0'));
to = line[2] - 'a';
to += 8 * (8 - (line[3] - '0'));
The second error was that my program lost on time and I did not understand why
My program does not generate illegal moves and I thought that I do not need to
check if makemove is true.
I needed a long time to understand that my error was that my changing of tscp
was not enough
I did not pay attention that tscp generates the move when it check if it is
legal.
I fixed it and now my program play under winboard but does it too fast and I
need to understand what is the reason for it.
I also do not know how to use more than one program under winboard:
I copied my exe file(movei.exe) into the winboard directory and
in order to use my engine
I changed the last lines of winboard.ini to the following lines:
/firstChessProgramNames={movei
"GNUChes5 xboard"
}
/secondChessProgramNames={movei
"GNUChes5 xboard"
}
/showButtonBar=true
If I want to use tscp I can change the word movei to the word tscp.
I did not see a simple explanation what exactly I need to change in winboard.ini
and if there is somewhere a copy of winboard.ini that is enough to use many
winboard engines when all the .exe files are in the winboard directory then it
may be productive for me in order to play with my program against other programs
under winboard.
The explanation that I read suggest to do a lot of things in order to install a
new winboard engine and I do not want to do it every time that I want to install
a new engine
I am not interested in downloading a lot of files except the .exe file in order
to install a new engine.
It is possible to do it with tscp and play a agme against it.
The explanation that I get give me too much information that I do not want today
I read that for Crafty you need at least the following files:
read.me
v15/crafty.doc
v15/crafty.faq
v15/wcrafty-15.*.exe (where * is replaced by the largest number there)
common/start.zip
common/medium.zip (or another book).
I do not like it.
I think that the help file of winboard need first to explain how to change the
winboard.ini files in order to install as many as possible engines without book
and it is better to give only later explanation of more complicated actions.
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.