Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Automated games w/ winboard

Author: Heiko Mikala

Date: 16:40:06 01/16/99

Go up one level in this thread



On January 16, 1999 at 13:37:13, Matthew Herman wrote:

>Hi,
>
>I saw on http://www.cent.co.yu/chess/ that there were automated matches
>between winboard engines, how is this acocmplished?
>
>I know that you can have them play against each other at startup.. but how do
>you get it to continue to play without having to hit reset game?

I use some batch-files that I made for the different pairings of programs. They
look like this:

winboard /cp /scp="Phalanx-XVIII -t8192" /sd="e:\schach\winboard\Phalanx-XVIII"
/fcp=CometA95 /fd="e:\schach\winboard\CometA95" /autoflag /mg 10 /sgf
pha-com.pgn /tc 30 /inc 0 /-reuse /-reuse2

All the above is one line in the batch file.

/cp says that I want to use Winboard to play with engines
/fcp gives the name and parameters of the first engine
/scp gives the name and parameters of the second engine
/fd gives the path to where the first engine is located
/sd gives the path to where the second engine is located
/autoflag tells Winboard to automatically stop games which are mate / stalemate
/ drawn
/mg x tells Winboard to play x games in a row
/sgf gives the name of the PGN file in which Winboard should save the games
/tc x is the time-control (tc 30 means 30 minutes per game)
/inc gives the time increment per move
/reuse means: restart the first engine for each new game
/reuse2 means: restart the second engine for each new game

The /reuse flag is used, because some engines don't work correctly when a new
game is started by using the "new" command. /reuse will simply start a new,
fresh instance of the engine.
Remember, that some engines require to edit an ini-file to set hash sizes etc.
And remember to turn off pondering for both engines!

Hope this helps, greetings,

Heiko.



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.