add minimax files
This commit is contained in:
parent
507695d621
commit
e72ec34803
2 changed files with 18 additions and 0 deletions
9
includes/minimax.h
Normal file
9
includes/minimax.h
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef OTHELLO_MINIMAX_H
|
||||||
|
#define OTHELLO_MINIMAX_H 1
|
||||||
|
|
||||||
|
typedef struct jeu Jeu;
|
||||||
|
|
||||||
|
/* Joue le tour d'après l'algorithme Minimax */
|
||||||
|
void action_joueur_minimax(Jeu *jeu, int couleur);
|
||||||
|
|
||||||
|
#endif
|
9
src/minimax.c
Normal file
9
src/minimax.c
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#include "../includes/minimax.h"
|
||||||
|
|
||||||
|
void action_joueur_minimax(Jeu *jeu, int couleur) {
|
||||||
|
// TODO
|
||||||
|
|
||||||
|
(void)jeu, (void)couleur;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
Reference in a new issue