I can't remember lol

This commit is contained in:
Sunny
2025-11-26 10:39:29 -05:00

View File

@@ -15,9 +15,9 @@ BUT : Fichier de fonctions Tic Tac Toe
using namespace std;
extern const int LARGTIC;
string ICONJ1 = "X";
string ICONJ2 = "O";
string style;
string ICONJ1 = "X";
string ICONJ2 = "O";
string style = "themes/themeSea.txt";
int codeConsole = 0;
fstream monFlux;
@@ -102,6 +102,7 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
iconJ2;
// Faire une fonction pour retenir le th<74>me s<>lectionn<6E> par le joueur!!!!
ouvrirFichier(monFlux, style);
if (monFlux) {
while (!monFlux.eof()) {
@@ -337,6 +338,7 @@ void historiqueDesScores() {
void changerLeTheme() {
string grid[LARGTIC][LARGTIC] = {ICONJ1, ICONJ2};
system("cls");
do {
cout << endl << "Changer le theme du jeu Tic Tac Toe" << endl
<< "Options des styles: " << "\nA) Ocean"
<< "\nB) Fantaisie" << "\nC) Espace"
@@ -349,7 +351,6 @@ void changerLeTheme() {
case 'A':
style = "themes/themeSea.txt";
afficherImageTableau(grid, style);
system("PAUSE");
break;
case 'B':
@@ -374,4 +375,5 @@ void changerLeTheme() {
cout << "\nChoisir une option valide. \n";
break;
}
} while (choix != 'Q');
}