Search found 3732 matches

by Henk
Sat Oct 05, 2019 11:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

Already switching over to legal move generation. Simplest solution is best in my case. Especially when you can't even solve simple endgame problems. Or worse not able to win from Fairy-max
by Henk
Thu Oct 03, 2019 10:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

Doesn't see checkmate

[d] 8/8/8/4k3/8/8/8/3QK3 w - -

Code: Select all

 17    1119        34494      314287036    d1d7  e5e4  e1f2  e4f4  d7d4  f4f5  d4d6  f5e4  f2f1  e4e3  d6c5  e3d2  c5b4  d2c1  f1e1  c1c2  e1e2 
by Henk
Thu Oct 03, 2019 10:26 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

8/8/4k3/8/5K1P/8/8/8 w - - 20 1120 35104 159511091 f4g5 e6d5 h4h5 d5c4 h5h6 c4b3 h6h7 b3a3 h8=Q a3b4 g5f4 b4a3 f4e4 a3b3 e4e3 b3a2 e3d2 a2b1 h8a8 b1b2 e6d5?? Something wrong. Enough to do. Getting this now. Max integer overflow. Even simpel node counting a problem. Depth Value Time Nodes 26 93 3351...
by Henk
Thu Oct 03, 2019 10:18 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

Better. There was a bug in my code that returned wrong score when illegal move. Actually I still don't understand it. if (kingCapture != 0) { return ( MATE_SCORE - plyCount + 1, null, 0); } was: return (Min(ub, MATE_SCORE - plyCount + 1), null, 0); Maybe better give an extra boolean back indicating ...
by Henk
Fri Sep 27, 2019 1:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames


Code: Select all

20    1120        35104      159511091    f4g5  e6d5  h4h5  d5c4  h5h6  c4b3  h6h7  b3a3  h8=Q  a3b4  g5f4  b4a3  f4e4  a3b3  e4e3  b3a2  e3d2  a2b1  h8a8  b1b2 
e6d5?? Something wrong. Enough to do.
by Henk
Fri Sep 27, 2019 12:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

Could be worse but value should be zero and not equal to two pawns. Looks like a bug in stalemate detection. [d] 8/8/8/8/8/2k5/7P/4K3 w - - Depth Value Time Nodes 1 97 0 7 e1d1 2 94 0 41 e1d1 c3b4 3 97 0 223 e1d1 c3d3 h2h4 4 94 0 1906 e1e2 c3d4 e2f3 d4c5 5 148 0 3397 h2h4 c3b4 h4h5 b4a5 h5h6 6 146 0...
by Henk
Fri Sep 27, 2019 9:07 am
Forum: Chess Players Forum
Topic: Coffee house player
Replies: 12
Views: 3575

Re: Coffee house player

Nimzowich is a more famous example of a coffee house player.
Started by playing for money in a coffee house.
by Henk
Wed Sep 18, 2019 3:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

This should be a draw: [d] 1Q6/8/K7/8/8/8/2pk4/8 w - - Yes, this is a draw, but without table-bases it is not so easy for an engine to see. The queen can keep on giving checks from many different locations, so it will take quite some time before repetition detection kicks in. Stockfish: dep score n...
by Henk
Wed Sep 18, 2019 1:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

This should be a draw:

[d] 1Q6/8/K7/8/8/8/2pk4/8 w - -
by Henk
Wed Sep 18, 2019 1:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Basic endgames
Replies: 33
Views: 5694

Re: Basic endgames

A more difficult one. Whites king did not move. Bugs, bugs, bugs. [d] 1Q6/8/K7/8/8/8/3pk3/8 w - Depth Value Time Nodes 1 908 1 26 b8b2 2 908 1 104 b8b2 e2d1 3 908 2 408 b8b2 e2d1 b2a1 4 908 7 1104 b8b2 e2d1 b2a1 d1c2 5 908 20 5311 b8b2 e2d1 b2a1 d1c2 a1a2 6 908 51 15048 b8b2 e2d1 b2a1 d1c2 a1a2 c2c...