Page 1 of 1

Perft for capturing move gen

Posted: Thu Jan 14, 2021 12:26 pm
by eligolf
I just started making a movegen for only capture moves which was not too hard to do. I am using the 10x12 board representation, I understand that this is easier to do for bitboards since you can just AND the normal results for each piece with opponent pieces.

Anyway, is there any perft to test my capturing move generator? The move gen is not super complicated, but just to be safe I wanted to test it. I could of course set up some cases myself and manually count, but that would also be a source of error. I am thinking it should cover some normal "tricky" cases such as e.p. and promotion.

Re: Perft for capturing move gen

Posted: Thu Jan 14, 2021 1:41 pm
by abulmo2
You can try my perft available here: https://github.com/abulmo/MPerft
It does have an option to generate only captures, promotions and check evasions.

Re: Perft for capturing move gen

Posted: Thu Jan 14, 2021 1:46 pm
by abulmo2
abulmo2 wrote: Thu Jan 14, 2021 1:41 pm You can try my perft available here: https://github.com/abulmo/MPerft
It does have an option to generate only captures, promotions and check evasions.
An old discussion about 'qs' perft numbers done on the Kiwipete position:
http://talkchess.com/forum3/viewtopic.php?f=7&t=70808