A perft(7) challenge position

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: A perft(7) challenge position

Post by sje »

pkumar wrote:I shall appreciate a few positions to take my engine through hoops (e.p., promotions, castling, etc.).
Try: https://dl.dropboxusercontent.com/u/316 ... /ToughGuys

And: https://dl.dropboxusercontent.com/u/316 ... ar/Largest
geko
Posts: 36
Joined: Fri Sep 06, 2013 11:20 am
Location: Italy
Full name: Giuseppe Cannella

Re: A perft(7) challenge position

Post by geko »

./cinnamon -perft -f"rnb1kbnr/pp1pp1pp/1qp2p2/8/Q1P5/N7/PP1PPPPP/1RB1KBNR b Kkq - 2 4" -d 7 -h5000 -c4

Perft moves: 14794751816 in 32 seconds 785 millsec (462000k nodes per seconds)
User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Re: A perft(7) challenge position

Post by Roman Hartmann »

Roce 0.0395 gets this one not right either. I know what's wrong but as it's a design flaw it's not that easy to fix. It's not related to hashing as I don't use hash in perft but rather due the improper way I handle the castling flags in my old engine.

The engine I'm working on get's it right even though it's rather complicated mix of 0x88 and bitboard to get the best of both worlds.

Roce 0.0395
Perft (7): 14794474706, Time: 209.810 s [WRONG]

Current engine (not based on previous versions of Roce)
Perft (7): 14794751816 [OK]


Regards
Roman