Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: QSearch and captures

Author: Paul Byrne

Date: 16:58:55 11/20/01

Go up one level in this thread


On November 20, 2001 at 05:04:42, Michel Langeveld wrote:

>Hello all,
>
>I implemented qsearch in my program nullmover, but got a problem for it back.
>
>When I search with a depth 1 (just testing at the moment) my program thinks that
>after the openingmove 1. d4, ... h6! is the best move.
>
>After h6 the qsearch starts.
>
>[D]rnbqkbnr/ppppppp1/7p/8/3P4/8/PPP1PPPP/RNBQKBNR w KQkq - 0 2
>
>The qsearch evaluates _only_ captures now. The program thinks white HAS to take
>on h6 then (is only capture in that position) and black can win a bishop after
>gxh6 or Rxh6. So score is about +2 for black then. This is incorrect of
>course....
>
>I'm thinking about ways to solve this. One way is to implement a null move so
>that beside capturing there's always a doing nothing option. But I was curious
>how you guys solve this thing.
>
>Regards,
>
>Michel Langeveld

I see folks have explained this, so I won't repeat.  But should you ever write
a program to play ICC's Losers chess, this original qsearch can be quite
effective... because in that case white really does have to take on h6... :)

-paul



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.