/* IA pour morpion récursif - Alexis * main.h * Définition des énumérations, typedef et autres */ typedef enum {FREE, CROSS, CIRCLE} Dots; typedef enum {I=0, II=1, III=2, IV = 3, V=4, VI=5, VII=6, VIII=7, IX=8, Z=-1} Boxes; typedef Boxes Solutions[4][2]; int play(Dots grid[9][9], Boxes subgrid, Dots player, Boxes move); int chooseMoveAndPlay(Dots grid[9][9], Boxes subgrid, Dots player, Boxes *move, Boxes firstSubgrid); void checkSolutions(Boxes a, Solutions sols); void printGrid(Dots grid[9][9]);