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.
Perft for capturing move gen
Moderators: hgm, Rebel, chrisw
-
- Posts: 114
- Joined: Sat Nov 14, 2020 12:49 pm
- Full name: Elias Nilsson
-
- Posts: 433
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: Perft for capturing move gen
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.
It does have an option to generate only captures, promotions and check evasions.
Richard Delorme
-
- Posts: 433
- Joined: Fri Dec 16, 2016 11:04 am
- Location: France
- Full name: Richard Delorme
Re: Perft for capturing move gen
An old discussion about 'qs' perft numbers done on the Kiwipete position: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.
http://talkchess.com/forum3/viewtopic.php?f=7&t=70808
Richard Delorme