Added perft function + fixed some move generation bugs(there are still some)
This commit is contained in:
1 parent
915b93ad5a
commit
5962c37546
6 files changed
+98
-43
No files matched your search
+2
-3
@@ -2,15 +2,14 @@
|
||||
#include "types.h"
|
||||
#include "board.h"
|
||||
#include "movegen.h"
|
||||
#include "perft.h"
|
||||
|
||||
int main() {
|
||||
initLeaperAttacks();
|
||||
initSliderAttacks();
|
||||
|
||||
Board board;
|
||||
GenerateMoves(board);
|
||||
board.ListMoves();
|
||||
board.PrintBoard();
|
||||
Perft(board, 4);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user