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

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

View File

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