aboutsummaryrefslogtreecommitdiff
path: root/src/ctaklm.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-25 23:48:42 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit9c151da7ce0d00ecf04e4be9c395604d4c8882ad (patch)
treecb306bff965d517ca9b7c068040ed883bedf375c /src/ctaklm.c
parentfa382246017019bd2f0f3a303241bd2990c3cbdd (diff)
Stripping debug stuff
Diffstat (limited to 'src/ctaklm.c')
-rw-r--r--src/ctaklm.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c
index c395c29..dda6eb1 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -416,32 +416,11 @@ main(int argc, char **argv) {
(void)(argc);
(void)(argv);
- negamax_search_depth = 2;
+ negamax_search_depth = 5;
new_game(5);
negamax_init(5);
tt_init();
- auto_board = 1;
- auto_info = 0;
- negamax_search_depth = 4;
- for (int k=0; k<10; k++) negamax_turn();
- return 0;
-
- ply = 7; current_colour=C_BLACK;
- celldat[0x00]=0x22; colours[0x00]=0x05;
- celldat[0x01]=0x10; colours[0x01]=0x00;
- celldat[0x02]=0x11; colours[0x02]=0x00;
- print_board();
-
- action_list_t *list = action_list_generate();
-
-
- action_node_t a = {.next = NULL, .type = A_MOVE, .loc = 0x0, .data0 = 0x80, .data1 = 0x31};
- action_take(&a); print_board();
- action_undo(&a); print_board();
- return 0;
-
-
// Test harness
if (argc > 1) {
negamax_search_depth = 5;