Compare commits

...

2 Commits

Author SHA1 Message Date
Lea
957e9e7221 DERNIER COMMIT DE LA JOURNÉE 2025-11-26 11:22:59 -05:00
Lea
5597f5248d DERNIER COMMIT DE LA JOURNÉE 2025-11-26 11:22:17 -05:00
3 changed files with 13 additions and 9 deletions

View File

@@ -98,7 +98,7 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
ouvrirFichier(monFlux, style);
if (monFlux) {
while (!monFlux.eof()) {
monFlux >> emoteUp >> emoteDown >> iconJ1 >> iconJ2;
monFlux >> emoteUp >> emoteDown >> ICONJ1 >> ICONJ2;
}
monFlux.close();
cout << endl;
@@ -109,6 +109,9 @@ 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 << " ";
for (int i = 0; i < LARGTIC; i++) {
@@ -125,27 +128,27 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
cout << endl << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << " |";
cout << "|";
for (int j = 0; j < 3; j++) {
cout << " ";
}
}
cout << " |" << endl << " " << k + 1 << " ";
cout << "|" << endl << " " << k + 1 << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << " |" << " " << grid[k][i] << " ";
cout << "|" << " " << grid[k][i] << " ";
}
cout << " |" << endl << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << " |";
cout << "|";
for (int j = 0; j < 3; j++) {
cout << " ";
}
}
cout << " |" << endl << " ";
cout << "|" << endl << " ";
}
@@ -340,7 +343,7 @@ void jeuDeuxJoueurs(string grid[][LARGTIC]) {
//Changer le th<74>me
void changerLeTheme() {
string grid[LARGTIC][LARGTIC] = {ICONJ1, ICONJ2};
string grid[LARGTIC][LARGTIC];
system("cls");
do {
cout << endl << "Changer le theme du jeu Tic Tac Toe" << endl

View File

@@ -2,3 +2,4 @@
🔹
✖️