This commit is contained in:
Lea
2025-11-28 10:20:22 -05:00

View File

@@ -24,6 +24,8 @@ fstream monFlux;
HANDLE hconsole = GetStdHandle(STD_OUTPUT_HANDLE);
char carre = 219, choix;
//<2F> faire : <20>galit<69> et entrer de coordonn<6E>e
//Fichiers
void ouvrirFichier(std::fstream& monFlux, std::string nomFichier) {
monFlux.open(nomFichier, ios::in);
@@ -294,7 +296,7 @@ void tourJoueur(string grid[][LARGTIC], int joueur) {
horizontale -= 1;
while (grid[verticale][horizontale] == iconJ1 || grid[verticale][horizontale] == iconJ2) {
// V<>RIFIER LE CIN D'ERREUR!!!!!
cout << "\n\nVeuillez choisir une case vide.\n"
<< "\n\nEntrez une coordonnee verticale : ";
cin >> verticale;
@@ -488,4 +490,4 @@ void changerLeTheme() {
break;
}
} while (choix != 'Q');
}
}