Maybe smth

This commit is contained in:
Sunny
2025-11-26 10:19:29 -05:00
parent 0e4b9c8781
commit 1d1b08f394
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Appuyez sur une touche pour continuer... Press any key to continue . . .

View File

@@ -173,7 +173,7 @@ void tourJoueur(string grid[][LARGTIC], int joueur) {
cout << "\nEntrez une coordonnee horizontale : "; cout << "\nEntrez une coordonnee horizontale : ";
cin >> horizontale; cin >> horizontale;
while (grid[verticale][horizontale] == ICONJ1 || grid[verticale][horizontale] == ICONJ2) { while (grid[verticale - 1][horizontale - 1] == ICONJ1 || grid[verticale - 1][horizontale - 1] == ICONJ2) {
cout << "\n\nVeuillez choisir une case vide.\n" cout << "\n\nVeuillez choisir une case vide.\n"
<< "\n\nEntrez une coordonnee verticale : "; << "\n\nEntrez une coordonnee verticale : ";
cin >> verticale; cin >> verticale;