Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Using Perft to debug a Move Generator?

Author: Michel Langeveld

Date: 08:54:28 01/26/04

Go up one level in this thread


The TSCPGothic (based on a modified TSCP)
contains a perft subtotals <number> command.

As follows:

tscp> setfen k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -
Resetting historyheuristic
Resetting killers
Resetting hashtables...
tscp> perft subtotals 3
move d5e6 = 2529
move d5d6 = 2419
move e5d7 = 2614
move e5f7 = 2519
move e5c6 = 2513
move e5g6 = 2571
move e5c4 = 2289
move e5g4 = 2289
move e5d3 = 2201
move c3b5 = 2585
move c3a4 = 2654
move c3b1 = 2515
move c3d1 = 2517
move f3f4 = 2661
move f3f5 = 2952
move f3f6 = 2581
move f3g4 = 2705
move f3h5 = 2917
move f3i6 = 2974
move f3j7 = 2537
move f3e3 = 2614
move f3d3 = 2426
move f3g3 = 2756
move f3h3 = 2999
move a2a3 = 2630
move a2a4 = 2588
move b2b3 = 2385
move d2e3 = 2576
move d2f4 = 2424
move d2g5 = 2672
move d2h6 = 2550
move d2i7 = 2563
move d2j8 = 1939
move d2c1 = 1920
move e2d3 = 2480
move e2c4 = 2518
move e2b5 = 2552
move e2a6 = 2332
move e2d1 = 2214
move e2f1 = 2536
move g2h3 = 2338
move g2g3 = 2289
move g2g4 = 2155
move a1b1 = 2436
move a1c1 = 2435
move a1d1 = 2342
move e1d1 = 2396
move e1f1 = 2349
move h1g1 = 2484
move h1f1 = 2390
move h1i1 = 2750
move h1j1 = 2736
total perft = 130316

I will upload the sourcecode to my homepage !

Michel



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.