Author: Andrew Williams
Date: 02:42:20 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? > >anthony I use this or something like it: #!/usr/bin/tcsh # Run multiple games based on standard opening positions cp match.pgn match.bak rm match.pgn set player1 = "./newKS xboard" set player2 = "./postmod xboard" set tc = 10 set inc = 2 set testset = "../epd/nunnboth.epd" set position = 0 while ($position < 30) @ position++ echo Running Position $position xboard -mg 2 -tc $tc -inc $inc -lpf $testset -lpi $position -sgf \ match.pgn -autoflag -fcp "$player1" -scp "$player2" \ -animateMoving False \ -showCoords True -size Small \ -ponderNextMove False -popupExitMessage False @ position++ echo Running Position $position xboard -mg 2 -tc $tc -inc $inc -lpf $testset -lpi $position -sgf \ match.pgn -autoflag -fcp "$player2" -scp "$player1" \ -animateMoving False \ -showCoords True -size Small \ -ponderNextMove False -popupExitMessage False end This is a tcsh script called "nunngame102". Andrew
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.