From 1d1b08f3945ef6638ca3bdd54be1c0c307ee5888 Mon Sep 17 00:00:00 2001 From: Sunny Date: Wed, 26 Nov 2025 10:19:29 -0500 Subject: [PATCH] Maybe smth --- TicTacToe/0 | 2 +- TicTacToe/fonctions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TicTacToe/0 b/TicTacToe/0 index 4588032..6fe9972 100644 --- a/TicTacToe/0 +++ b/TicTacToe/0 @@ -1 +1 @@ -Appuyez sur une touche pour continuer... +Press any key to continue . . . diff --git a/TicTacToe/fonctions.cpp b/TicTacToe/fonctions.cpp index 3b20d75..60f86a2 100644 --- a/TicTacToe/fonctions.cpp +++ b/TicTacToe/fonctions.cpp @@ -173,7 +173,7 @@ void tourJoueur(string grid[][LARGTIC], int joueur) { cout << "\nEntrez une coordonnee 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" << "\n\nEntrez une coordonnee verticale : "; cin >> verticale;