Remove unused function and add missing header prototypes
All checks were successful
Python tests (make) / test (push) Successful in 11s
All checks were successful
Python tests (make) / test (push) Successful in 11s
This commit is contained in:
@@ -112,12 +112,4 @@ int ai_find_best_move_with_window(struct Board *board, int depth, int window_cp,
|
||||
int pick = cand_idx[rand_uniform(cand_n)];
|
||||
*best_out = moves[pick];
|
||||
return 1;
|
||||
}
|
||||
|
||||
int ai_play(struct Board *b, int depth) {
|
||||
struct Move m;
|
||||
struct Board after;
|
||||
if (!apply_move_on_copy(b, &after, m)) return 0;
|
||||
*b = after;
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user