diff --git a/jeu.h b/jeu.h index 6ed1318..ac5a01f 100644 --- a/jeu.h +++ b/jeu.h @@ -1,5 +1,5 @@ -#ifndef JEU_H -#define JEH_H +#ifndef JEU_H_INCLUS +#define JEU_H_INCLUS struct Position { int x; @@ -10,10 +10,10 @@ struct EtatJeu { int tailleGrille; int mode; int tourJoueur; - int phase; /* 0: placement initial, 1: déplacement, 2: blocage */ + int phase; struct Position joueur1; struct Position joueur2; - int** grille; /* 0: libre, 1: joueur1, 2: joueur2, 3: bloqué */ + int** grille; }; struct EtatJeu initialiserJeu(int tailleGrille, int mode); @@ -23,4 +23,4 @@ void afficherVictoire(int gagnant); int estCaseAdjacente(struct Position pos1, struct Position pos2); int peutDeplacer(struct EtatJeu etatJeu, int joueur); -#endif \ No newline at end of file +#endif /* JEU_H_INCLUS */