#ifndef OTHELLO_MINIMAX_H #define OTHELLO_MINIMAX_H 1 #include #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(Jeu *jeu, int profondeur, Coups *positions, Jeton coup_choisi, int joueur, int joueur_gagnant); /* Calcule la valeur heuristique pour un coup */ int heuristique(Jeu *jeu, Jeton coup_choisi); #endif