diff --git a/TicTacToe/fonctions.cpp b/TicTacToe/fonctions.cpp index bd9a1f5..1f5732d 100644 --- a/TicTacToe/fonctions.cpp +++ b/TicTacToe/fonctions.cpp @@ -239,6 +239,9 @@ bool verifFinMatch(std::string grid[][LARGTIC]) { fin = fin && (grid[i][i] == grid[i - 1][i - 1]); } } + + + if (fin == true) { return fin; } @@ -318,6 +321,8 @@ void jeuUnJoueur(string grid[][LARGTIC]) { cout << "Un joueur a ete choisi. Le joueur joue en premier."; + //AJOUTER UN COMPTEUR DE TOURS POUR LES EXAEQUO!!!!!! + do { tourJoueur(grid, 1); gagnant = 1;