Changes

Jump to: navigation, search

Perft

34 bytes removed, 00:25, 13 June 2020
Perft function with pseudo move generator
To generate legal moves some programs have to make moves first, call the function IsIncheck and then undo those moves. That makes the above Perft function to make and undo moves twice for all moves. Bellow code can avoid that problem and run much faster:
<pre>
typedef unsigned long long u64;
 
u64 Perft(int depth)
{
<span id="Bulk"></span>
 
==Hashing==

Navigation menu