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.aberent wrote:That is a good idea, do you know any websites that post FENs for positions like that?Gian-Carlo Pascutto wrote:In this case the code posted looks correct to me.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.
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.
Quiescence Search Review
Moderator: Ras
-
- Posts: 292
- Joined: Tue Jul 07, 2009 4:56 am