Commit Graph

26 Commits

Author SHA1 Message Date
148fef20ea add info in pos_print, start perft TT testing 2024-06-13 10:28:32 +02:00
ebf01bc7db perft_test -> perft, perf -> perft_alt move2 -> move, move -> move_alt 2024-06-09 22:15:20 +02:00
4a0c734eba perft: Avoid recursion at depth 2 2024-05-16 09:06:44 +02:00
a012af30fc fix wrong recursive call in perft_test() 2024-05-16 07:27:59 +02:00
c710da4bf9 move_do2: save/restore state inside func; perft: add silent option 2024-04-18 09:54:58 +02:00
36e1d987f3 rename second perft function, perft_test() 2024-04-17 18:43:09 +02:00
2505217c70 rename pos_all_legal() to pos_legal_dup(), new pos_legal() 2024-04-17 09:13:21 +02:00
a6eedebc19 perft: always use set_checkers_pinners_blockers() - To be cont'd 2024-04-11 10:04:13 +02:00
e301e6c726 bug fix in perft() - stupid initialization ! 2024-04-10 12:57:39 +02:00
eb590f1438 bug fix, wrong perft recursion ! 2024-04-09 08:11:31 +02:00
30af886594 comment 2024-04-02 21:18:01 +02:00
4816b4a53a experiment: add pos_set_checkers_pinners_blockers() 2024-03-30 18:45:13 +01:00
24207583d1 perft2: is_in_check() before recursion 2024-03-29 09:59:14 +01:00
85ae4a2230 better comments on perft() and perft2() 2024-03-28 09:41:39 +01:00
ad8a9609ce misc.c: add a few basic clock functions 2024-03-28 08:33:27 +01:00
65fe74c9c5 movegen: don't separate promotions, perft: loop uses next_legal() 2024-03-27 12:52:39 +01:00
08ba989170 is_legal: fix check+pinned and knight check; perft-test + perft2() 2024-03-26 17:43:59 +01:00
ce2e0e8459 add forgotten changes in bitboard-switch branch (git is so... difficult) 2024-03-23 17:41:15 +01:00
01c5765888 remove -DBIN_xxx from brchess source files. parts moved to ./test (TODO) 2023-12-13 21:30:39 +01:00
b855ba59aa do not generate moves in pvs() terminal nodes 2023-07-13 10:39:36 +02:00
d852e0bc1d adjust nodecounts, fix PVS 2023-07-12 21:31:27 +02:00
9932a64c97 add pvs(), aka Principal Variation Search 2023-07-11 22:20:43 +02:00
d9f03acb02 fix piece color in move_do 2023-07-10 13:17:26 +02:00
65f1bef987 cleanup 2023-07-09 16:22:42 +02:00
0b787c8a90 Add negamax function (no α β pruning) 2023-07-09 15:44:50 +02:00
7952a34c88 Add pos negamax function 2023-07-07 15:53:26 +02:00