#ifndef OTHELLO_MINIMAX_H
#define OTHELLO_MINIMAX_H 1
#include <limits.h>
#include <string.h>
#include "joueur.h"
typedef struct jeu Jeu;
/* Joue le tour d'après l'algorithme Minimax */
void action_joueur_minimax(Jeu *jeu, int couleur);
/* Implémentation de Minimax */
int minimax(Jeton *plateau[LONGEUR][LARGEUR], int profondeur, Coups *positions,
Jeton coup_choisi, int joueur, int joueur_gagnant);
/* Calcule la valeur heuristique pour un coup */
int heuristique(Jeton *plateau[LONGEUR][LARGEUR], Jeton coup_choisi);
/* Copie le plateau */
void copie_plateau(Jeton *plateau_source[LONGEUR][LARGEUR],
Jeton *plateau_destination[LONGEUR][LARGEUR]);
#endif