Search found 2 matches

by oakstair
Wed Mar 05, 2014 12:56 pm
Forum: Programming and Technical Discussions
Topic: Mating with two bishops
Replies: 3
Views: 1945

Re: Mating with two bishops

When increasing the search depth to 9 it solves the problem ...

Solved 8/8/8/7B/5k1B/8/8/K7 w - - 0 1 : Mate in 30 moves.
1.Kb2 Kf5 2.Kb3 Kf4 3.Kc4 Ke4 4.Bg3 Kf5 5.Bd6 Kf6
6.Kc5 Kg5 7.Bf7 Kh4 8.Kd5 Kh3 9.Ke4 Kh4 10.Kf4 Kh3
11.Kf3 Kh4 12.Be7+ Kh3 13.Be6+ Kh2 14.Kf2 Kh1 15.Kf1 Kh2
16.Bd6+ Kh1 17 ...
by oakstair
Wed Mar 05, 2014 11:19 am
Forum: Programming and Technical Discussions
Topic: Mating with two bishops
Replies: 3
Views: 1945

Mating with two bishops

Hi!

I am developing a java chess engine and have some problem getting it to play accurate when mating with two bishops.

fen: 8/8/8/7B/5k1B/8/8/K7 w - - 0 1

My evaluator gives credits if weak king is near the edge (Mating score) plus it gives score if stronger king is near the waker king.

My ...