Perft Positions and Node Counts
Moderator: Ras
-
- Posts: 16
- Joined: Thu Jul 25, 2019 7:13 pm
- Full name: Jay Warendorff
Perft Positions and Node Counts
In the video series Programming A Chess Engine in C, I think I recall a file being displayed with numerous perft positions and node counts - very useful for testing an engine's move generation. Is that file or a similar one available?
-
- Posts: 3270
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Perft Positions and Node Counts
Idk about the video series, here two .epd files with perft positions from chess programming wiki:
https://gitlab.com/smatovic/ZetaDva/-/b ... type=heads
https://gitlab.com/smatovic/ZetaDva/-/b ... type=heads
--
Srdja
https://gitlab.com/smatovic/ZetaDva/-/b ... type=heads
https://gitlab.com/smatovic/ZetaDva/-/b ... type=heads
--
Srdja
-
- Posts: 1278
- Joined: Wed Mar 08, 2006 8:28 pm
- Location: Florida, USA
Re: Perft Positions and Node Counts
Etherial has two perft files that I've used to prove a move generator is working perfectly:
https://github.com/AndyGrant/Ethereal/t ... /src/perft
Steve
https://github.com/AndyGrant/Ethereal/t ... /src/perft
Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
-
- Posts: 2104
- Joined: Wed Jul 13, 2011 9:04 pm
- Location: Madrid, Spain.
Re: Perft positions and node counts.
Hello Jay:
Regards from Spain.
Ajedrecista.
Videos 43 and 44 of the excellent series Programming A Chess Engine in C show an EPD file called perftsuite.epd. A comment by the author on the Part 44 says the following:ChessRenewal wrote: ↑Wed May 28, 2025 1:51 am In the video series Programming A Chess Engine in C, I think I recall a file being displayed with numerous perft positions and node counts - very useful for testing an engine's move generation. Is that file or a similar one available?
Going to the web and downloading the file does the job. Once unzipped, you will see that the file is the same as in the series... or almost. I saw that perft(6) of the second position of the file (the famous Kiwipete position) is missing in the file from the Roce site, while is present in the EPD of the video.@BlueFeverSoft wrote:[...]
Plenty of engines do divide, I used to use and engine called 'Roce'.
In my experience, if you have very few differences, try positions with castling, promotions and enpassant. I think I provide a load of test positions in this series.
Here's where I got it:
http://www.rocechess.ch/perft.html
[...]
Regards from Spain.
Ajedrecista.
-
- Posts: 179
- Joined: Tue Jun 27, 2017 11:01 pm
- Location: Lubumbashi
- Full name: Yves De Billoëz
Re: Perft Positions and Node Counts
2 testfiles:
https://sourceforge.net/p/belofte/gitre ... tsuite.epd (162 positions)
https://sourceforge.net/p/belofte/gitre ... e-full.epd (6800 positions)
https://sourceforge.net/p/belofte/gitre ... tsuite.epd (162 positions)
https://sourceforge.net/p/belofte/gitre ... e-full.epd (6800 positions)
Yves De Billoëz @ macchess belofte chess
Once owner of a Mephisto I, II, challenger, ... chess computer.
Once owner of a Mephisto I, II, challenger, ... chess computer.