Compare commits

...

2 Commits

Author SHA1 Message Date
Lea
b7dae93147 résolution de problèmes de synchro 2025-11-28 08:40:28 -05:00
Lea
f60ebf6b42 Revert vers une phase qui fonctionne théoriquement 2025-11-28 08:39:24 -05:00
2 changed files with 15 additions and 6 deletions

View File

@@ -109,8 +109,8 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
}
fermerFichier(monFlux);
grid[0][0] = ICONJ1;
grid[0][1] = ICONJ2;
// Lignes de code pour faire afficher le Tic Tac Toe une fois que les symboles ont <20>t<EFBFBD> ajout<75>s
cout << "Joueur 1: " << emoteJ1 << " Joueur 2: " << emoteJ2 << endl << endl;
// Lignes de code pour faire afficher le Tic Tac Toe une fois que les symboles ont <20>t<EFBFBD> ajout<75>s
cout << " ";
@@ -137,8 +137,17 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
for (int i = 0; i < LARGTIC; i++) {
cout << "|" << " " << grid[k][i] << " ";
cout << "|" << " " ;
if (grid[k][i] == "X") {
cout << emoteJ1;
}
else if (grid[k][i] == "O") {
cout << emoteJ2;
}
else {
cout << " ";
}
cout << " ";
}
cout << "|" << endl << " ";

View File

@@ -45,7 +45,7 @@ int main() {
break;
case 'C':
changerLeTheme();
changerLeTheme(theme);
theme = true;
break;