stellar

Stellar - Chess engine written in C
Log | Files | Refs

perft.h (443B)


      1 #ifndef STELLAR_PERFT_H
      2 #define STELLAR_PERFT_H
      3 
      4 #include "board.h"
      5 
      6 typedef unsigned long long ull;
      7 typedef struct PerftResult PerftResult;
      8 struct PerftResult {
      9     ull node;
     10 #ifdef USE_FULL_COUNT
     11     ull capture;
     12     ull enpassant;
     13     ull castle;
     14     ull promote;
     15     ull check;
     16     // ull checkDiscovered;
     17     // ull checkDouble;
     18     // ull checkmate;
     19 #endif
     20 };
     21 
     22 PerftResult perft_test(const char *fen, int depth, int thread_num);
     23 
     24 #endif