#ifndef ALPHABETA_SEARCH_H
#define ALPHABETA_SEARCH_H

#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>

#ifdef USE_OPT_OWARE
#include "opt_oware.h"
#else
#include "oware.h"
#endif

#define MAX_INFINITY (INT_MAX - 1)
#define MIN_INFINITY (INT_MIN + 1)

int helper_alpha_beta_search(int depth, int alpha, int beta, int thisside[], int otherside[]);
int alpha_beta_bestmove(int depth, int thisside[], int otherside[], int *vp);
int value(int thisside[], int otherside[]);
int value1(int side[]);

#endif