Page 1 of 11

Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 4:11 pm
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?

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 4:20 pm
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

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 4:22 pm
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.

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 4:48 pm
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"

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 5:18 pm
by hgm
Where can I find a Windows executable of this Stockfish, so I can try it myself?

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 6:10 pm
by styx
I don't know. I compiled one for you:

https://www.dropbox.com/s/07gdkptzr25rq ... n.zip?dl=0

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 6:12 pm
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

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 6:43 pm
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.

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 7:02 pm
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.

Re: Stockfish Crazyhouse Engine

Posted: Fri Nov 04, 2016 7:08 pm
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.