is_legal: fix check+pinned and knight check; perft-test + perft2()

This commit is contained in:
2024-03-26 17:37:18 +01:00
parent 7637bdad10
commit 08ba989170
7 changed files with 457 additions and 87 deletions

View File

@@ -20,5 +20,6 @@
//eval_t pvs(pos_t *pos, int depth, int alpha, int beta, int color);
u64 perft(pos_t *pos, int depth, int ply);
u64 perft2(pos_t *pos, int depth, int ply);
#endif /* SEARCH_H */