Author: Dann Corbit
Date: 11:16:26 06/04/02
Go up one level in this thread
On June 04, 2002 at 10:52:30, JW de Kort wrote: >Hi! > >I would like to include in my own program the possibility to play against a >winboard engine. I suppose this will not be very easy, but can someone give me >any help on how to communicate with an winboard engine from within my own >program? Of course i could use winboard but that is not what i want. > >I have just started to study the winboard source but can somebody give me hint >where is should look? Look at TSCP. It has a functional Winboard interface that is simple and easy to understand. Mostly, you will be reading and writing from stdin. One thing to keep in mind is that it is a good idea to turn off all I/O buffering. For instance: setbuf(stdout, NULL); setbuf(stdin, NULL); setvbuf(stdout, NULL, _IONBF, 0); setvbuf(stdin, NULL, _IONBF, 0); It is good to look at the descriptions of the Winboard protocol. Take a look at Tim Mann's pages: http://www.tim-mann.org/chess.html
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.