I can't remember woups

This commit is contained in:
Sunny
2025-11-26 10:38:16 -05:00
parent e089dc9bc0
commit 20206426f0
2 changed files with 8 additions and 11 deletions

View File

@@ -15,11 +15,9 @@ BUT : Fichier de fonctions Tic Tac Toe
using namespace std;
extern const int LARGTIC;
string ICONJ1 = "X";
string ICONJ2 = "O";
string ICONJ1 = "X";
string ICONJ2 = "O";
string style;
string ICONJ1 = "X";
string ICONJ2 = "O";
string style;
int codeConsole = 0;
fstream monFlux;
@@ -281,7 +279,7 @@ void jeuUnJoueur(string grid[][LARGTIC]) {
int gagnant;
int nbJoueurs = 1;
cout << "\nUn joueur a ete choisi. Le joueur joue en premier.\n\n";
cout << "Un joueur a ete choisi. Le joueur joue en premier.";
do {
tourJoueur(grid, 1);
@@ -347,8 +345,7 @@ void changerLeTheme() {
choix = toupper(_getche());
cout << endl;
do {
switch (choix) {
switch (choix) {
case 'A':
style = "themes/themeSea.txt";
afficherImageTableau(grid, style);
@@ -375,6 +372,6 @@ void changerLeTheme() {
default:
cout << "\nChoisir une option valide. \n";
}
} while (choix != 'Q');
break;
}
}