Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about making my engine winbooard compatible

Author: Severi Salminen

Date: 08:35:56 02/11/02

Go up one level in this thread


A few tips:

1. make it directly a protocol 2 compatible.
2. Implememt "xboard", "new", "go" and "quit".
3. Use the "usermove" feature. And test until you can send and receive every
move correctly, including promotions and special moves.
4. Implement "time" and let it play Xmin/40 moves games and see if everything
works fine.
5. We sure to poll for "force" during search, otherwise you'll have troubles.
6. Implement "level", "setboard" and "result" and other useful commands.

Put debug code at every command you receive from WB and make your engine report
(printf) that it received the command. And use the debug mode in WB. Only this
way you can know what is happening. Implement one command a time and make sure
it is bugless. And don't copy directly from TSCP - that way you'll never
understand what is happening.

Severi



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.