Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I don't use illegal moves EVER

Author: Heiner Marxen

Date: 05:28:07 11/29/99

Go up one level in this thread


>And what exactly signify "adding special code for 2-mate candidates"?

A "2-mate candidate" is a move of the attacker, which shall start a mate in 2.
I.e. followed by any defender move there shall shall then follow a mate move.
I have special code estimating the escapes around the defender king, which
remain after a 2-mate candidate, followed by one of the defender moves,
followed by any possibly legal further attacker move.  And if there are still
escapes for the defender king guaranteed to be left, there is no mate in 2.
Bingo!

The success rate of this special code rarely is below 50%, typically is
a bit above 80%, and sometimes 95%.  Overall it pays off fine.

>How many moves (or plys) the mate solver looks?

I'm not sure I understand your question.  When you ask for a mate in N, it
will look 2N-1 plies deep.  N currently is limited to 30, but that can be
changed easily.

>How big, as code, it is?

150 KB code.

>And what kind of variations of mate solutions are included now in the logic
>for solving the mate, or composition of problems?

mate, stalemate, selfmate, selfstalemate, helpmate and helpstalemate.

Heiner Marxen   heiner@drb.insel.de     http://www.drb.insel.de/~heiner/



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.