Files
Eleanor/source/main.cpp
T

16 lines
306 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/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1");
Perft(board, 1);
return 0;
}