Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: XBoard -mg

Author: Tord Romstad

Date: 00:09:50 09/23/05

Go up one level in this thread


On September 22, 2005 at 20:50:27, A. Cozzie wrote:

>So being a unix user I run xboard with -mg to run matches.  I'd like to run some
>Nunn matches with some initial positions, and I thought I could do that with
>-loadGameFile.  However, if I specify N games they all get played from the first
>position!! Is there any way to make it rotate through multiple positions?

Hi Anthony,

I use the following little Python script.  It probably looks very clumsy (I
wrote
it after studying Python for about 5 minutes), but it works:

#!/usr/bin/python

import os

for i in range(1, 51):
    os.system("xboard -fcp polyglot -fd . -scp polyglot -sd
/Users/tord/Applications/SigmaChessHiarcs/HIARCS/ -tc 4 -inc 1 -xponder -debug
-thinking -sgf glaurung-hiarcs.pgn -lgf \"Noomen.pgn\" -lgi %d -size medium -mg
2 -xexit -autoflag"% i);


Tord



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.