Arena or similar testing program for Linux

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Arena or similar testing program for Linux

Post by OliverBr »

Hello together,

I am urgently looking for a program that let chess engines play each other multiple times (like Arena for Windows), but that it running on Linux.

Can anybody help me with this issue?
Thank you

-Oliver
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Arena or similar testing program for Linux

Post by Michel »

You may call xboard from a script. See e.g.

http://labraj.uni-mb.si/en/index.php/To ... y_(XBoard)

I would use python however, for more flexibility.

Michel
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Arena or similar testing program for Linux

Post by OliverBr »

Michel wrote:You may call xboard from a script. See e.g.

http://labraj.uni-mb.si/en/index.php/To ... y_(XBoard)

I would use python however, for more flexibility.

Michel
I thought about this, too, but xboard doesn't know to adjudicate, use books and give a summary about the games like arena can.

I am now implementing a simple java interface (don't need GUI) for these purposes.
User avatar
hgm
Posts: 27814
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena or similar testing program for Linux

Post by hgm »

OliverBr wrote:I thought about this, too, but xboard doesn't know to adjudicate, use books and give a summary about the games like arena can.
Are you living in the stone age, or what?
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Arena or similar testing program for Linux

Post by OliverBr »

hgm wrote:
OliverBr wrote:I thought about this, too, but xboard doesn't know to adjudicate, use books and give a summary about the games like arena can.
Are you living in the stone age, or what?
Obviously. Anyway, your reply didn't help me much.
User avatar
hgm
Posts: 27814
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena or similar testing program for Linux

Post by hgm »

It was meant as a hint that xboard of course can do these things too.

e.g. through the option -adjudcateLossThreshold N .
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Arena or similar testing program for Linux

Post by Michel »

-adjudcateLossThreshold N
Maybe this option is present in 4.3? It is not present in 4.2.7 which comes with Ubuntu 8.04.

Can xboard 4.3 now use its own book? If so in what format? I would assume polyglot since that is easy to parse and well understood.

Michel
User avatar
hgm
Posts: 27814
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena or similar testing program for Linux

Post by hgm »

Michel wrote:
-adjudcateLossThreshold N
Maybe this option is present in 4.3? It is not present in 4.2.7 which comes with Ubuntu 8.04.
If you go back far enough, no option will be supported. That is what I meant by 'stone age'.
Can xboard 4.3 now use its own book? If so in what format? I would assume polyglot since that is easy to parse and well understood.
How would you want it to use a book? Xboard has a mechanism of forcing external openings on an engine through the -loadGameFile option.
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Arena or similar testing program for Linux

Post by Michel »

If you go back far enough, no option will be supported. That is what I meant by 'stone age'.
Sorry, I don't see the need for sarcasm when people are posing honest questions.
How would you want it to use a book?
Like any GUI uses a book. The GUI uses the book until it runs out and then gives control to the engine. This is easy to implement using force mode. I did this for my own FICS client (an icsdrone derivative).
OliverBr
Posts: 725
Joined: Tue Dec 18, 2007 9:38 pm
Location: Munich, Germany
Full name: Dr. Oliver Brausch

Re: Arena or similar testing program for Linux - Own proggie

Post by OliverBr »

Anyway, I wrote a small programm in java that does what I wanted. I called it ChessDM (Chess Death Match) and does the following:

Code: Select all

dreamlike@denver054:~/test> java -jar ChessDM.jar crafty olithink 6 "0 0:20 0"
olithink mates as black on move 37
crafty - olithink : 0.0/1 0-0-1 0% (0)
olithink mates as white on move 37
crafty - olithink : 0.0/2 0-0-2 0% (00)
olithink forfeits on time on move 61
crafty - olithink : 1.0/3 1-0-2 33% (001)
olithink mates as white on move 47
crafty - olithink : 1.0/4 1-0-3 25% (0010)
olithink claims draw on move 31 1/2-1/2 {Draw by Repetition}
crafty - olithink : 1.5/5 1-1-3 30% (0010=)
olithink mates as white on move 30
crafty - olithink : 1.5/6 1-1-4 25% (0010=0)
dreamlike@denver054:~/test>
Don't worry about the result, it was superfast timecontrol...