aboutsummaryrefslogtreecommitdiff
path: root/src/ct1986.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ct1986.c')
-rw-r--r--src/ct1986.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ct1986.c b/src/ct1986.c
index 40943db..e440255 100644
--- a/src/ct1986.c
+++ b/src/ct1986.c
@@ -145,14 +145,18 @@ main(int argc, char **argv) {
if (lcd_begin() != EXIT_SUCCESS)
return EXIT_FAILURE;
- human = 0;
+ cnn1986_max_num_cached = 500;
+ negamax_cnn1986_search_depth = 3;
+ negamax_cnn1986_cache_threshold = 2;
negamax_cnn1986_search_depth = 3;
+
new_game(5);
char *line = NULL;
ssize_t read;
size_t alloc_size;
+ human = 0;
for (int playing = 1; playing;) {
while (human == 0) {
if (ply & 1) lcd_put_line(L_SCROLL, "Black: ");
@@ -177,6 +181,7 @@ main(int argc, char **argv) {
}
}
+ cnn1986_cache_free();
lcd_end();
return EXIT_SUCCESS;
}