16 lines
310 B
C++
16 lines
310 B
C++
#include <iostream>
|
|
#include "types.h"
|
|
#include "board.h"
|
|
#include "movegen.h"
|
|
#include "perft.h"
|
|
|
|
int main() {
|
|
initLeaperAttacks();
|
|
initSliderAttacks();
|
|
|
|
Board board;
|
|
board.SetByFen("r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10");
|
|
Perft(board, 1);
|
|
|
|
return 0;
|
|
} |