understanding the knight bishop mate

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

Moderators: hgm, Rebel, chrisw

duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

understanding the knight bishop mate

Post by duncan »

[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 10:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad »

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 7:03 am

Re: understanding the knight bishop mate

Post by zamar »

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: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: understanding the knight bishop mate

Post by duncan »

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 10:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad »

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: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: understanding the knight bishop mate

Post by duncan »

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 10:01 pm
Location: UK

Re: understanding the knight bishop mate

Post by Jack Lad »

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: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: understanding the knight bishop mate

Post by Jim Ablett »

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 7:43 pm

Re: understanding the knight bishop mate

Post by sje »

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: 536
Joined: Thu Mar 09, 2006 12:53 am

Re: understanding the knight bishop mate

Post by royb »

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