add repetition detection, root position count
- hist.c: add hist_next() - get next entry in history - state_t: remove plycount, clock_50 -> ply50, add phase, repcount - pos_t: add plycount, plyroot - state_t moved to chessdefs.h - perft-test: split perft from do_perft (todo for perft_alt) - position.c: add pos_repcount() - search.c: add is_draw() - uci: set root position (after moves), adjust history moves repcount
This commit is contained in:
@@ -364,7 +364,7 @@ int main(int ac, char**av)
|
||||
|
||||
if (run & 1) {
|
||||
clock_start(&clock);
|
||||
my_count = perft(pos, depth, 1, divide);
|
||||
my_count = perft(pos, depth, divide);
|
||||
ms = clock_elapsed_ms(&clock);
|
||||
if (!ms) {
|
||||
res[0].skipped++;
|
||||
|
Reference in New Issue
Block a user