Compare commits

..

3 Commits

Author SHA1 Message Date
Sunny
b8f22030c2 Merge branch 'main' of https://gitea.zkd.ca/DEV_WEB/TicTacToe 2025-11-26 10:19:50 -05:00
Sunny
064cf4b365 Merge branch 'main' of https://gitea.zkd.ca/DEV_WEB/TicTacToe 2025-11-26 10:19:31 -05:00
Sunny
1d1b08f394 Maybe smth 2025-11-26 10:19:29 -05:00
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

@@ -174,7 +174,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;