Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Extensions

Author: Jeff GAZET

Date: 05:38:23 04/23/04

Go up one level in this thread


>That's not what I meant. This is what I understand you are doing:
>
>mv = get_next_move();
>make_move(mv);
>if(it_is_a_promotion_move(mv)) {
>    depth++
>}
>score = -alphabeta(depth-1, -beta, -alpha);
>depth--;     // DO YOU HAVE THIS LINE?
>
>The last line (depth--) is VERY important.
> ...
>Andrew

i did'nt do that. But should'nt it be like this ?

mv = get_next_move();
make_move(mv);
if(it_is_a_promotion_move(mv)) {depth++}
score = -alphabeta(depth-1, -beta, -alpha);
if(it_is_a_promotion_move(mv)) {depth--}

Well, in both cases, my engines gets very slow on this position :
1r5N/2PPPP1P/6r1/8/B4p2/4pPk1/3pRpP1/R6K w - -

Can i do this ?
if(it_is_a_promotion_move(mv) && depth<=1) {depth++} ?



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.