Bf6!! difficult move....

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

Moderator: Ras

bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Bf6!! difficult move....

Post by bob »

BBauer wrote:A program like crafty will *never* find Bf6.
reason: this type of position is about zugzwang.
after Bf6 g6 Qh6 the black Ne6 has cannot move, he has to protect g7.
Crafty has no zugzwang detection.
Some progammers think speed is everything, so they will never do it right.

BTW, I posted a similar game some weaks ago.

kind regards
Bernhard
Or, some programmers just try to spend time doing the things that help in the _majority_ of the positions?

Crafty does just fine. Any null-move program will have problems with certain kinds of positions, unless they spend a lot of time trying to detect the cases where zugzwang is important. Which hurts all the cases where it is not that important...

six of one, half-dozen of the other...

It's easy to throw stones in glass houses. But it is also a bit dangerous...
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Bf6!! difficult move....

Post by bob »

Terry McCracken wrote:
BBauer wrote:This is what glaurung2-epsilon/2 gave on a AMD X2 5200+
Glaurung needs 1:18 min

Code: Select all

FEN: r1b1r1k1/p2q1ppp/np2n3/3p1NBQ/8/6PB/P4P1P/1R2R1K1 w - - 0 1 

Glaurung_win_64:
   2	00:01	         597	434	-0,82	Bg5d2 Na6c5
   3	00:01	       1.482	1.065	-0,52	Bg5d2 g7g6 Nf5h6+ Kg8f8
   4	00:01	       4.011	2.850	-0,86	Bg5d2 Na6c5 Bd2c3 d5d4
   4	00:01	       8.736	6.208	-0,76	Re1e2 d5d4 Rb1e1 Bc8b7
   5	00:01	      26.296	16.182	-0,49	Re1e2 g7g6 Nf5h6+ Kg8f8 Qh5h4 Na6c5
   5	00:01	      35.052	20.029	-0,29	Re1e5 h7h6 Bg5xh6 g7xh6 Nf5xh6+ Kg8f8 Re5xd5
   5	00:01	      52.247	29.584	-0,05	Nf5xg7 Kg8xg7 Bh3f5 Kg7f8 Qh5h6+ Kf8g8 Bf5xh7+ Kg8h8
   6	00:01	      63.618	35.700	+0,49	Nf5x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rb1b4 Nc5e4 Re1xe4 d5xe4 Rb4d4 Re8d8 Rd4xd7 Rd8xd7 Nf5e7+ Rd7xe7 Bh3xe6 f7xe6 Bf6xe7 Bc8a6 Be7f6 Kg8f7 Qh6g7+ Kf7e8 Qg7xh7
  19	28:53	3.370.338.578	1.944.377	+4,80	Bg5f6 Na6c7 Nf5h6+ Kg8f8 Bf6e5 g7g6 Qh5f3 Ne6g5 Qf3a3+ Qd7e7 Be5d6 Ng5xh3+ Kg1g2 Qe7xd6 Qa3xd6+ Kf8g7 Qd6xc7 Nh3g5 Re1xe8 Bc8h3+ Kg2g1 Ra8xe8 f2f4 Kg7xh6 f4xg5+ Kh6xg5 Qc7xa7

kind regards
Bernhard
That is impressive! I felt no program could solve this in a reasonable amout of time.

It took nearly 12 minutes to see it was winning outright, nonetheless a very impressive result indeed!

Terry
You can probably take any program that is hyper-evaluating king safety and get it to find this pretty quickly. Whether that hyper-evaluation is good everywhere is a completely different matter.

But in any case, this position is really about king safety evaluation, not about zugzwang or anything search-related...

I will give a quick test later on an older version of Crafty that had adjustable king-safety scaling to see what it does with king safety turned up real loud...
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Bf6!! difficult move....

Post by BBauer »

Yes,
that has bin your position in many years.
You accept it that crafty will not solve one position, if it does well in 100 others. That is against a principle Bruce Moreland once stated:
->Search should find it<-

There are positions where crafty will not find the best move.

Anyway, many thanks for creating crafty.
Crafty had many fans over the years, including me.
Crafty was the first program to implement many features for the first time.

No doubt Bob is IMHO one of the greatest chess programmers.
kind regards
Bernhard
Alessandro Scotti

Re: Bf6!! difficult move....

Post by Alessandro Scotti »

Tord Romstad wrote: I really should start working on my evaluation function again soon. I see ridiculous misevaluations like this one all the time.
Hi Tord,
take your time... Hamsters is already being destroyed by Glaurung and I'm in no hurry to see more beating! :-)