Stockfish Mate Finder+ Chess Engine!

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

Moderators: hgm, Rebel, chrisw

supersharp77
Posts: 1247
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Stockfish Mate Finder+ Chess Engine!

Post by supersharp77 »

Stockfish Mate Finder+ Chess Engine...........not only does it find mates......it sacs pawns...... castles...and wins chess games! Fantastic Chess Monster!! Thank You Ipman!! :)


https://www.dropbox.com/s/4u6n9fiw7j63r ... er.7z?dl=0
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: Stockfish Mate Finder+ Chess Engine!

Post by jhellis3 »

Glad you found it useful. :) Going forward, I'll probably update it along with official SF releases. I'll see if I can get around to creating a SF6 MF branch tonight....

And thanks to IpMan for providing the compiles.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Stockfish Mate Finder+ Chess Engine!

Post by Vinvin »

jhellis3 wrote:Glad you found it useful. :) Going forward, I'll probably update it along with official SF releases. I'll see if I can get around to creating a SF6 MF branch tonight....

And thanks to IpMan for providing the compiles.
Is it possible to merge with Sting ? http://www.talkchess.com/forum/viewtopi ... 911#605911
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: Stockfish Mate Finder+ Chess Engine!

Post by jhellis3 »

Ok, here is the branch for Stockfish 6 MF:
https://github.com/jhellis3/Stockfish/tree/stockfish6mf


And the commit:
https://github.com/jhellis3/Stockfish/c ... 2f06c50d03

Is it possible to merge with Sting ?
No. The goal of SF MF is to be as close to (as strong as or stronger) than current Stockfish, while not missing things like mate in 6. While I can not speak for the author of Sting, I feel I can safely say the objective differs significantly. The idea behind MF, however, is very simple and the code is on github, but Sting probably already uses a more robust approach anyway (I have not looked at the code).
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: Stockfish Mate Finder+ Chess Engine!

Post by jhellis3 »

Windows compiles courtesy of Ipman:

https://dl.dropboxusercontent.com/u/114 ... 0Finder.7z
Dann Corbit
Posts: 12569
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Stockfish Mate Finder+ Chess Engine!

Post by Dann Corbit »

Stockfish matefinder has a big problem with this famous position:
[d]n2Bqk2/5p1p/Q4KP1/p7/8/8/8/8 w - -
Dann Corbit
Posts: 12569
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Stockfish Mate Finder+ Chess Engine!

Post by Dann Corbit »

Sample output, reformatted for humans:
  • n2Bqk2/5p1p/Q4KP1/p7/8/8/8/8 w - - acd 26; ce 7; acs 11; acn 57993; pv Qd6+ Kg8 gxh7+ Kh8 Bxa5 Qc8 Bb4 Nb6 Qxb6 Kxh7 Kxf7 Qg8+ Ke7 Qg7+ Kd8 Qg8+ Kd7 Qg4+ Kc7 Qg7+ Kc8 Qg8+ Kb7 Qd5+ Ka6 Qa8+ Kb5 Qd5+ Ka4 Qa2+ Ba3 Qc2+ Kb4 Qb1+ Kc5 Qxb6+ Kxb6 Kg8 Kc6 Kh7 Kc5 Kg8 Kc4 Kh7 Bc5 Kg8 ; bm Qd6+;
    n2Bqk2/5p1p/Q4KP1/p7/8/8/8/8 w - - acd 27; ce 7; acs 14; acn 79255; pv Qd6+ Kg8 gxh7+ Kh8 Bxa5 Qc8 Bb4 Nb6 Qxb6 Kxh7 Kxf7 Qg8+ Ke7 Qg7+ Kd8 Qg8+ Kd7 Qg4+ Kc7 Qg7+ Kc8 Qg8+ Kb7 Qd5+ Ka6 Qa8+ Kb5 Qd5+ Ka4 Qa2+ Ba3 Qc2+ Kb4 Qb1+ Ka5 Qxb6+ Kxb6 Kg8 Kc6 Kh7 Kc5 Kg8 Kc4 Kh7 Bc5 Kg8 Bd4 Kh7 ; bm Qd6+;
    n2Bqk2/5p1p/Q4KP1/p7/8/8/8/8 w - - acd 28; ce 7; acs 18; acn 104234; pv Qd6+ Kg8 gxh7+ Kh8 Bxa5 Qc8 Bb4 Nb6 Qxb6 Kxh7 Kxf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Kf3 Kd3 Kg4 Bd6 f4 Ke4 f3 Ke3 Kg5 Kxf3 Kg6 Ke3 Kh7 Kd4 Kg8 Bb4 Kh7 ; bm Qd6+;
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: Stockfish Mate Finder+ Chess Engine!

Post by Norbert Raimund Leisner »

Hello,

was used one of the matesolving software cf. website http://computer-chess.org/doku.php?id=c ... s_problems
like Chest UCI /Popeye or created Ipman an own standalone-program for this purpose?

Best wishes,
Norbert
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish Mate Finder+ Chess Engine!

Post by zullil »

Dann Corbit wrote:Stockfish matefinder has a big problem with this famous position:
[d]n2Bqk2/5p1p/Q4KP1/p7/8/8/8/8 w - -
But the latest Sting gets it quickly:

Code: Select all

 info depth 26 multipv 1 score mate 13 nodes 233331719 nps 14420996 time 16180
 pv a6c8 f8g8 d8c7 e8c8 g6f7 g8h8 c7e5 c8c5 e5b2 a8c7 b2a1 a5a4 a1b2 a4a3 b2a1 a3a2 a1b2 a2a1n b2a1 c5e5 a1e5 c7d5 f6g5 d5f6 f7f8q 
Dann Corbit
Posts: 12569
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Stockfish Mate Finder+ Chess Engine!

Post by Dann Corbit »

Norbert Raimund Leisner wrote:Hello,

was used one of the matesolving software cf. website http://computer-chess.org/doku.php?id=c ... s_problems
like Chest UCI /Popeye or created Ipman an own standalone-program for this purpose?

Best wishes,
Norbert
I used many different things.
ChestUCI with very long time control.
Houdini tactical with every 6 man nalimov file
Stockfish at 8 hours per position
And anything else I could think of when all of those failed (other engines, Popeye, etc.)