Help needed: Gauntlet with the black pieces

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
Guenther
Posts: 4611
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Help needed: Gauntlet with the black pieces

Post by Guenther »

pferd wrote:...

Is there a gui out there which allows me to select Stockfish playing with the black pieces every game? Linux is prefered, but I could boot into Windows if necessary.
Kind regards
xboard surely can do this. I come back soon with the command (don't remember it now from memory).
https://rwbc-chess.de

trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
User avatar
Guenther
Posts: 4611
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Help needed: Gauntlet with the black pieces

Post by Guenther »

https://www.gnu.org/software/xboard/manual/xboard.pdf

page 32 chapter 4.1 engine options:

Code: Select all

-sameColorGames n
Automatically runs an n-game match between two chess engines,  without alternating colors.
Otherwise the same applies as for the *-matchGames* option, over which it takes precedence if both are specified.
(See there.)  Default:  0 (do not run a match).
Not sure how to combine it with the gauntlet setting. I would probably set it up via batch commands. Actually I never needed this so far.
https://rwbc-chess.de

trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
User avatar
hgm
Posts: 27814
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Help needed: Gauntlet with the black pieces

Post by hgm »

Guenther wrote:
pferd wrote:...

Is there a gui out there which allows me to select Stockfish playing with the black pieces every game? Linux is prefered, but I could boot into Windows if necessary.
Kind regards
xboard surely can do this. I come back soon with the command (don't remember it now from memory).
The required option is -sameColorGames N . It is only available as a command-line option, because there didn't seem to be any mainstream interest in it. But if you start XBoard with this option on the command line (or WinBoard with this option as 'Additional option'), it will suppress color alternation in any match or tournament, and play N games per pairing (possibly overruling the number of games specified in the Tournament Options dialog).
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Help needed: Gauntlet with the black pieces

Post by pferd »

Thanks for your suggestions. I will try them over the next couple of days and will report back if I run into problems.
Colin-G
Posts: 191
Joined: Mon Oct 31, 2016 6:30 pm
Location: England

Re: Help needed: Gauntlet with the black pieces

Post by Colin-G »

In linux, xboard can be launched from the command line.
If you use the parameter "-mg 1" and set "-scp" to use the polyglot executable with a Stockfish.ini file that includes all your Stockfish option settings and "-fcp" set to the test program executable, one game will be played with Stockfish as Black.
You can set the start position with "-lpf" parameter.
By using multiple lines in a bash script with different "-fcp" values, Stockfish will play one game as Black against each of the test programs.