Compare commits
2 Commits
b627bfe215
...
b7dae93147
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7dae93147 | ||
|
|
f60ebf6b42 |
@@ -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 << " ";
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ int main() {
|
||||
break;
|
||||
|
||||
case 'C':
|
||||
changerLeTheme();
|
||||
changerLeTheme(theme);
|
||||
theme = true;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user