Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: UCI engine programming.

Author: Michael Yee

Date: 16:59:41 12/25/04

Go up one level in this thread


On December 25, 2004 at 12:44:54, Richard Sutherland wrote:

>I'm trying to develop a basic chess program (for my own amusement, and to help
>me learn .net) and want to make it UCI compatible. Are there any links that take
>me to an explanation of how to make a program UCI compatible, preferably in easy
>to understand language?
>
>Thanks,
>
>Richard

I know you said UCI, but you could look at the winboard protocol for some tips
on input/output:

http://www.tim-mann.org/xboard/engine-intf.html#6

Basically there are two approaches:

(1) keep polling for input at some fixed interval (like a certain number of
nodes or after some number of seconds)

(2) have 2 threads: one for input and one for thinking/pondering

I don't think there are too many tutorials out there on just implementing the
protocol stuff. But as someone else suggested, you could look at some existing
code. TSCP is a basic engine with WB support.

Michael



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.