shithub: moonfish

Download patch

ref: ffb04b7cfd3d92b89d0db7fa2ea2cc073804bff3
parent: 5fa35da9ac1115571a862eea4e08c72cd5eda4bb
author: zamfofex <zamfofex@twdb.moe>
date: Sun Nov 19 04:21:27 EST 2023

tweak time management

--- a/search.c
+++ b/search.c
@@ -188,7 +188,7 @@
 	
 	d = our_time - their_time;
 	if (d < 0) d = 0;
-	d += our_time / 16;
+	d += our_time / 8;
 	
 	i = 3;
 	
@@ -196,7 +196,7 @@
 	score = moonfish_best_move_depth(ctx, best_move, i);
 	moonfish_clock(ctx, &t1);
 	
-	t = 1000;
+	t = 50;
 	t += t1.tv_sec * 1000;
 	t -= t0.tv_sec * 1000;
 	t += t1.tv_nsec / 1000000;
--