Stockfish Crazyhouse Engine

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

Moderators: hgm, Rebel, chrisw

styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Stockfish Crazyhouse Engine

Post by styx »

Hi! I am using Linux (Ubuntu Gnome) and tried to compile and run the stockfish variant engine downloaded from:

https://github.com/ddugovic/Stockfish

It successfully compiled but I don't know how to run it. I tried xboard (but I believe it only supports winboard crazyhouse engines)

Then I tried pychess but it does not find the binary although I've chosen the right directory.

Then I tried cutechess. It never moves when I select "crazyhouse" although SF seems to start calculating.

I am confused! Any tips?
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx »

I just discovered, that my linux system classifies the compiled output binary as a "shared library" instead of "program" (that might be the reason pychess does not find it).

But it still works in normal chess mode in other GUIs
Last edited by styx on Fri Nov 04, 2016 4:22 pm, edited 1 time in total.
User avatar
Guenther
Posts: 4610
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Stockfish Crazyhouse Engine

Post by Guenther »

styx wrote:Hi! I am using Linux (Ubuntu Gnome) and tried to compile and run the stockfish variant engine downloaded from:

https://github.com/ddugovic/Stockfish

It successfully compiled but I don't know how to run it. I tried xboard (but I believe it only supports winboard crazyhouse engines)

Then I tried pychess but it does not find the binary although I've chosen the right directory.

Then I tried cutechess. It never moves when I select "crazyhouse" although SF seems to start calculating.

I am confused! Any tips?
This was just discussedyesterday :
http://talkchess.com/forum/viewtopic.ph ... 62&t=61363

I want to add that it might be possible to do this also with Inbetween
and Polyglot or UCI2WB. Of course this also needs some manual work.
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx »

I tried but I think I am too stupid to make it work :(

I tried it like HGM explained it but it didn't work. Then I messed around a bit and when I start the engine like this

Code: Select all

"Stockfish Crazyhouse" -fcp "/home/andreas/Dokumente/Chess/Engines/Stockfish_Zh/UCI2WB -var crazyhouse /home/andreas/Dokumente/Chess/Engines/Stockfish_Zh/stockfish" -fd "." -variant crazyhouse -firstOptions "UCI_Variant=Crazyhouse"
it says something like "SF 8 does not support crazyhouse"
User avatar
hgm
Posts: 27810
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Stockfish Crazyhouse Engine

Post by hgm »

Where can I find a Windows executable of this Stockfish, so I can try it myself?
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx »

I don't know. I compiled one for you:

https://www.dropbox.com/s/07gdkptzr25rq ... n.zip?dl=0
Carlos777
Posts: 1737
Joined: Sun Dec 13, 2009 6:09 pm

Re: Stockfish Crazyhouse Engine

Post by Carlos777 »

hgm wrote:Where can I find a Windows executable of this Stockfish, so I can try it myself?
You can get it here:

https://github.com/niklasf/Stockfish/releases

Or compile the source from this site:

https://github.com/ddugovic/Stockfish
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: Stockfish Crazyhouse Engine

Post by gbtami »

styx wrote:Hi! I am using Linux (Ubuntu Gnome) and tried to compile and run the stockfish variant engine downloaded from:

https://github.com/ddugovic/Stockfish

It successfully compiled but I don't know how to run it. I tried xboard (but I believe it only supports winboard crazyhouse engines)

Then I tried pychess but it does not find the binary although I've chosen the right directory.

Then I tried cutechess. It never moves when I select "crazyhouse" although SF seems to start calculating.

I am confused! Any tips?
Linux version from https://github.com/niklasf/Stockfish/releases plays crazyhouse without any problem on PyChess.
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx »

Yeah I managed to make it work in pychess. The only downside: pychess refuses to analyze a crazyhouse position as far is I can tell.

Also it runs now in cutechess (if you choose a "time per game" time control, instead of "time per move") but in cutechess 0.9.4 I have a huge problem: castling does not work. Seems like a major bug.
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: Stockfish Crazyhouse Engine

Post by gbtami »

styx wrote:Yeah I managed to make it work in pychess. The only downside: pychess refuses to analyze a crazyhouse position as far is I can tell.

Also it runs now in cutechess (if you choose a "time per game" time control, instead of "time per move") but in cutechess 0.9.4 I have a huge problem: castling does not work. Seems like a major bug.
Seems PyChess has a bug. After you set up an analyzing engine on Preferences->Hints tab (now lichess.org Stockfish cmpile), you have to disable and reenable it to start it working. Then it will analyze.