Ajout d'un thème manuellement modifié, modification du visuel du tic tac toe

This commit is contained in:
Lea
2025-11-26 09:30:08 -05:00
parent 3ba6f53adf
commit db00ac9352
4 changed files with 11 additions and 11 deletions

View File

@@ -1 +1 @@
Press any key to continue . . .
Appuyez sur une touche pour continuer...

View File

@@ -93,13 +93,12 @@ void initTab(string grid[][LARGTIC]) {
void afficherImageTableau(std::string grid[][LARGTIC]) {
SetConsoleOutputCP(CP_UTF8);
string emoteUp,
emoteLine,
emoteDown;
// Faire une fonction pour retenir le th<74>me s<>lectionn<6E> par le joueur!!!!
ouvrirFichier(monFlux, "themes/themeSea.txt");
ouvrirFichier(monFlux, "themes/themeGrass.txt");
if (monFlux) {
while (!monFlux.eof()) {
monFlux >> emoteUp >> emoteLine >> emoteDown;
monFlux >> emoteUp >> emoteDown;
}
monFlux.close();
cout << endl;
@@ -126,27 +125,27 @@ void afficherImageTableau(std::string grid[][LARGTIC]) {
cout << endl << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << emoteLine;
cout << " |";
for (int j = 0; j < 3; j++) {
cout << " ";
}
}
cout << emoteLine << endl << " " << k + 1 << " ";
cout << " |" << endl << " " << k + 1 << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << emoteLine << " " << grid[k][i] << " ";
cout << " |" << " " << grid[k][i] << " ";
}
cout << emoteLine << endl << " ";
cout << " |" << endl << " ";
for (int i = 0; i < LARGTIC; i++) {
cout << emoteLine;
cout << " |";
for (int j = 0; j < 3; j++) {
cout << " ";
}
}
cout << emoteLine << endl << " ";
cout << " |" << endl << " ";
}

View File

@@ -0,0 +1,2 @@
🌵
🌱

View File

@@ -1,3 +1,2 @@
🌊
🔹
🪸