void search_position(const Board *board, int depth) {
Stats stats = {0};
for (int crnt = 1; crnt <= depth; crnt++) {
int alpha = -INFINITY, beta = INFINITY;
for (int crnt = 1; crnt <= depth;) {
stats.follow_pv = 1;
int score = negamax(&stats, board, -50000, 50000, crnt);
int score = negamax(&stats, board, alpha, beta, crnt);
if (score <= alpha || score >= beta) {
alpha = -INFINITY;
beta = INFINITY;
}
alpha = score - 50;
beta = score + 50;
printf("info score cp %4d depth %2d nodes %10ld pv ", score, crnt,
printf("info score cp %d depth %d nodes %ld pv ", score, crnt,
stats.nodes);
for (int i = 0; i < stats.pv_length[0]; i++) {