understanding the knight bishop mate

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

Moderators: Harvey Williamson, Dann Corbit, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
duncan
Posts: 12029
Joined: Mon Jul 07, 2008 8:50 pm

understanding the knight bishop mate

Post by duncan » Tue Jul 27, 2010 11:53 am

[d] K7/2kB4/8/8/8/8/8/5N2 w

which engine would good at finding the mate in 33 here without using tablebases. ?




duncan

Jack Lad
Posts: 8557
Joined: Wed Mar 08, 2006 9:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad » Tue Jul 27, 2010 12:17 pm

There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
Now cracks a noble heart.—Good night, sweet Princess, And flights of angels sing thee to thy rest!

zamar
Posts: 613
Joined: Sun Jan 18, 2009 6:03 am

Re: understanding the knight bishop mate

Post by zamar » Tue Jul 27, 2010 12:34 pm

Jack Lad wrote:
My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
Joona Kiiski

duncan
Posts: 12029
Joined: Mon Jul 07, 2008 8:50 pm

Re: understanding the knight bishop mate

Post by duncan » Tue Jul 27, 2010 12:52 pm

Jack Lad wrote:There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
I tried the position on fruit 2.31 and after 15 minutes (on 4 threads, 2 billion nodes) still has not found the mate. it gives a score of 7.47.

just to confirm when it chose Bg4, Ba4 & Be8 , did it announce mate in 34 ?

duncan

Jack Lad
Posts: 8557
Joined: Wed Mar 08, 2006 9:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad » Tue Jul 27, 2010 1:03 pm

duncan wrote:just to confirm when it chose Bg4, Ba4 & Be8 , did it announce mate in 34 ?

duncan
No - only an EGTB could do that on my system.
Now cracks a noble heart.—Good night, sweet Princess, And flights of angels sing thee to thy rest!

duncan
Posts: 12029
Joined: Mon Jul 07, 2008 8:50 pm

Re: understanding the knight bishop mate

Post by duncan » Tue Jul 27, 2010 1:15 pm

zamar wrote:
Jack Lad wrote:
My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
does stockfish have knowledge of bishop knight endings
?
duncan

Jack Lad
Posts: 8557
Joined: Wed Mar 08, 2006 9:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad » Tue Jul 27, 2010 1:24 pm

zamar wrote:For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
Thanks but where do I type "make help" and how do I run that?

I know how to access the terminal but have no idea how to use it.
Now cracks a noble heart.—Good night, sweet Princess, And flights of angels sing thee to thy rest!

User avatar
Jim Ablett
Posts: 1327
Joined: Fri Jul 14, 2006 5:56 am
Location: London, England
Contact:

Re: understanding the knight bishop mate

Post by Jim Ablett » Tue Jul 27, 2010 1:46 pm

Jack Lad wrote:There are seven winning moves four of which lead to mate in 33 and the other three lead to mate in 34.

Fruit prefers Bg4, Ba4 & Be8 (mate in 34) before finally settling on Bh3 (mate in 33) after 2 mins 37 secs.

My hardware is quite primitive by todays standards though. I would like to install the Stockfish engine for Linux but I do not how to use the makefile provided. :(
JA Linux compiles should run on a cpu as old as Pentium Pro.

Jim.

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 6:43 pm

Re: understanding the knight bishop mate

Post by sje » Tue Jul 27, 2010 2:20 pm

Code: Select all

[] df

K7/2kB4/8/8/8/8/8/5N2 w - - 0 1

[] dtbm

Ba4 MateIn34
Bb5 MateIn33
Bc6 Even
Bc8 Even
Be6 MateIn33
Be8 MateIn34
Bf5 MateIn33
Bg4 MateIn34
Bh3 MateIn33
Ka7 Even
Nd2 Even
Ne3 Even
Ng3 Even
Nh2 Even

royb
Posts: 520
Joined: Wed Mar 08, 2006 11:53 pm

Re: understanding the knight bishop mate

Post by royb » Tue Jul 27, 2010 4:34 pm

Jack Lad wrote:
zamar wrote:For help, just type "make help".

You likely want to run:
"make profile-build ARCH=x86-32" or for very very old hardware
"make profile-build ARCH=x86-32-old"
Thanks but where do I type "make help" and how do I run that?

I know how to access the terminal but have no idea how to use it.
OK, open a terminal.

cd /home/yourusername/stockfish-1.8 (this assumes you placed the stockfish source code in the directory named 'stockfish-1.8' in your home directory.)

cd src

make help


Note:

You will need to have g++ already installed on your Linux system. For Ubuntu (what I use) that can be done (before the above) with:

sudo apt-get install g++ (and supply your password when prompted)

Roy

Post Reply