Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is it a bug in Movei(what is your opinion?)

Author: Uri Blass

Date: 23:40:08 10/17/05

Go up one level in this thread


On October 18, 2005 at 02:18:40, Stephen A. Boak wrote:

>On October 17, 2005 at 23:56:38, Uri Blass wrote:
>
>>On October 17, 2005 at 23:43:46, Daniel Shawul wrote:
>
>>In this case Movei claimed the draw simply because the last 100 plies were with
>>no conversion so it even did not start to search the 101th ply.
>>
>>
>>> i fixed the problem by doing 50 move claims starting at the 101th half ply
>>>move.
>>>daniel
>>
>>It is possible also to do it in Movei but in this case I may need to
>>claim a draw in case that movei makes a move that leads to draw by the 50 move
>>rule because movei may play a move that allows the opponent to mate because it
>>evaluate draw by the 50 move rule as 0.00 even if the opponent can mate in the
>>next move and it is right because it can claim a draw before the opponent mates.
>>
>>Uri
>
>Uri,
>
>Isn't this pretty trivial to fix?  (I'm guessing.)
>
>Keep a count of moves (or plies) since the last piece capture or pawn move.

Of course I do it.

>At the beginning of each move, check the count & check to see if the opponent
>has offered a draw & then proceed accordingly.

Of course I check the count after every move to see if to claim a draw.

The only problem is that I claim a draw if I can do it by the rules.

There is no problem of draw offer because the opponent need to claim a draw in
case that the opponent wants a draw and not to offer a draw.

>
>If your opponent has forced a draw (by the rules), then accept.
>If not, calculate your PV & eval.
>
>Also, after a draw is offered, or whenever you detect a forced draw by your
>opponent, can't you use that fact to set an alpha-beta cutoff (not sure of the
>term) to avoid searching a line too deep if you can't even obtain at least an
>even score?

I think that there is no need for alpha beta cutoff.

If the move is no conversion and no mate and no pawn move
I evaluate it as a draw in case of draw by the 50 move.

>
>If you think your eval is better than a draw, make your best move (Mate or
>whatever).
>
>If you think your eval is worse than a draw, accept the offer if you wish, else
>make your best move if you wish to play on.

I think that if the eval is 0.00 then it is better never to continue but to
claim a draw.
To continue may make testers angry because of waste of time and I do not like to
continue only because the opponent may go wrong in 0.01% of the cases.

Another reason not to continue is that I can be mated in the next move if I do
it.

If I can claim a draw and the opponent can claim a draw after the move that I
plan to play then it is clear that the right evaluation is 0.00(because the
opponent can draw by claiming a draw and I can draw by claiming a draw together
with doing the move).

If I do not claim a draw with making a move that force draw by the 50 move rule
when the evaluation is 0.00 then it is possible that the opponent may mate in
the next move or capture a piece and win the game.

Uri



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.