I can't remember woups
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Appuyez sur une touche pour continuer...
|
Press any key to continue . . .
|
||||||
@@ -15,8 +15,6 @@ 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 ICONJ2 = "O";
|
|
||||||
string ICONJ1 = "X";
|
string ICONJ1 = "X";
|
||||||
string ICONJ2 = "O";
|
string ICONJ2 = "O";
|
||||||
string style;
|
string style;
|
||||||
@@ -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,7 +345,6 @@ 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";
|
||||||
@@ -375,6 +372,6 @@ void changerLeTheme() {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
cout << "\nChoisir une option valide. \n";
|
cout << "\nChoisir une option valide. \n";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} while (choix != 'Q');
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user