Stockfish Crazyhouse Engine

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
styx
Posts: 338
Joined: Tue Mar 13, 2012 8:59 pm
Location: Germany

Stockfish Crazyhouse Engine

Post by styx » Fri Nov 04, 2016 3:11 pm

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 8:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx » Fri Nov 04, 2016 3:20 pm

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 3:22 pm, edited 1 time in total.

User avatar
Guenther
Posts: 2259
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Contact:

Re: Stockfish Crazyhouse Engine

Post by Guenther » Fri Nov 04, 2016 3:22 pm

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 8:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx » Fri Nov 04, 2016 3:48 pm

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: 22274
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Stockfish Crazyhouse Engine

Post by hgm » Fri Nov 04, 2016 4:18 pm

Where can I find a Windows executable of this Stockfish, so I can try it myself?

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

Re: Stockfish Crazyhouse Engine

Post by styx » Fri Nov 04, 2016 5:10 pm

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

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

Carlos777
Posts: 616
Joined: Sun Dec 13, 2009 5:09 pm

Re: Stockfish Crazyhouse Engine

Post by Carlos777 » Fri Nov 04, 2016 5:12 pm

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: 340
Joined: Wed Sep 26, 2012 11:29 am
Location: Hungary
Contact:

Re: Stockfish Crazyhouse Engine

Post by gbtami » Fri Nov 04, 2016 5:43 pm

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 8:59 pm
Location: Germany

Re: Stockfish Crazyhouse Engine

Post by styx » Fri Nov 04, 2016 6:02 pm

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: 340
Joined: Wed Sep 26, 2012 11:29 am
Location: Hungary
Contact:

Re: Stockfish Crazyhouse Engine

Post by gbtami » Fri Nov 04, 2016 6:08 pm

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.

Post Reply