ref: 56f1dd2cb2980054ded13b5f380e646770183c7f
parent: 8fc9b9313be99ce802e1bea2f90eb789b0b91a32
author: zamfofex <zamfofex@twdb.moe>
date: Tue Nov 14 08:42:03 EST 2023
change base depth
--- a/search.c
+++ b/search.c
@@ -177,7 +177,8 @@
int moonfish_best_move(struct moonfish *ctx, struct moonfish_move *best_move, long int our_time, long int their_time)
{- time_t t, d;
+ long int d;
+ time_t t;
int i;
int score;
@@ -185,7 +186,7 @@
if (d < 0) d = 0;
if (d > 20) d = 20;
- i = 4;
+ i = 3;
t = time(NULL);
score = moonfish_best_move_depth(ctx, best_move, i);
t = time(NULL) - t + 4;
--
⑨