Perft Positions and Node Counts

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

ChessRenewal
Posts: 16
Joined: Thu Jul 25, 2019 7:13 pm
Full name: Jay Warendorff

Perft Positions and Node Counts

Post by ChessRenewal »

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?
smatovic
Posts: 3270
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Perft Positions and Node Counts

Post by smatovic »

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
User avatar
Steve Maughan
Posts: 1278
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: Perft Positions and Node Counts

Post by Steve Maughan »

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
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
Ajedrecista
Posts: 2104
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Perft positions and node counts.

Post by Ajedrecista »

Hello Jay:
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?
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:
@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

[...]
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.

Regards from Spain.

Ajedrecista.
ydebilloez
Posts: 179
Joined: Tue Jun 27, 2017 11:01 pm
Location: Lubumbashi
Full name: Yves De Billoëz

Re: Perft Positions and Node Counts

Post by ydebilloez »

Yves De Billoëz @ macchess belofte chess
Once owner of a Mephisto I, II, challenger, ... chess computer.