diff options
Diffstat (limited to 'src/ctaklm.c')
| -rw-r--r-- | src/ctaklm.c | 23 |
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; |
