16 lines
302 B
C++
16 lines
302 B
C++
#include <iostream>
|
|
#include "types.h"
|
|
#include "board.h"
|
|
#include "movegen.h"
|
|
#include "perft.h"
|
|
|
|
int main() {
|
|
initLeaperAttacks();
|
|
initSliderAttacks();
|
|
|
|
Board board;
|
|
board.SetByFen("r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1");
|
|
Perft(board, 6);
|
|
|
|
return 0;
|
|
} |