New issue 48 by protonspring: end game king heuristics
http://code.google.com/p/gray-matter/issues/detail?id=48
GM has issues finding mates, for example:
setboard 8/8/8/4K3/8/3k2r/8/8 b - - 0 1
OR
setboard 8/8/8/3K4/8/3kbn2/8/8 b - - 0 1
The mates are trivial, but GM struggles.
I think we should add some heuristics that
when the piece count is low, we want to push
the opponent king to the side.
I'm no chess expert, but me thinks this will make
GM find these kinds of mates way easier/faster.
Comment #1 on issue 48 by protonspring: end game king heuristics
http://code.google.com/p/gray-matter/issues/detail?id=48
I added some code which presses the king to the edge when there are few
pieces left on the board. this seems to work a bit better.