Computer Chess Club Archives


Search

Terms

Messages

Subject: Endgames.

Author: macaroni

Date: 21:15:33 09/26/03


My program (macaronibot on icc) can play a fairly reasonable middlegame at the
moment, but the second it gets to the ending, it turns into a real fiasco. This
ridiculous position for instance.

[D]8/5r2/P7/3K1k2/8/8/7p/1R6 w - -

Naturally this is nothing but drawn, but my computer managed to lose by playing
Rf1+ Kg4 Rh1 Kg3 Rb1 (no doubt white could sac the pawn, and then get his pawn
on the 7th, I think it's a draw?) Rh7 and now the horror, a7??? just throws any
chance away Rxa7 and my computer lost some moves later.

But what can be done about this. For instance, to see the fact that it can sac
the rook for the pawn on the 7th would take a very deep search, as black can
check check check, and still be a rook for pawn up.

Is the only way to have endgame tablebases, or is there some way of programming
that sort of stuff.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.