Quiescence Search Review

Discussion of chess software programming and technical issues.

Moderator: Ras

Aaron Becker
Posts: 292
Joined: Tue Jul 07, 2009 4:56 am

Re: Quiescence Search Review

Post by Aaron Becker »

aberent wrote:
Gian-Carlo Pascutto wrote:
aberent wrote: Evaluate Moves (this method assings a pseudo score to all the moves for sorting) takes a boolean flag called capturesOnly (its always true in Quiescence). If true then Evaluate Moves returns only capture moves.
In this case the code posted looks correct to me.

I'd proceed with feeding it positions with known result, starting with a position with no (possible) captures, one winning capture, a capture sequence of 2 captures, etc, until it goes wrong.
That is a good idea, do you know any websites that post FENs for positions like that?
For this, it's easier to construct your own than it is to find relevant test cases. Just construct simple endgame positions in your favorite gui and then copy the FEN to the clipboard.