ajout des thèmes et début de la fonction changer le theme
This commit is contained in:
@@ -87,11 +87,11 @@ void afficherImageMenu(std::fstream& monFlux) {
|
||||
|
||||
//G<>n<EFBFBD>ral (plusieurs options)
|
||||
void initTab(string grid[][LARGTIC]) {
|
||||
for (int i = 0; i < LARGTIC; i++) {
|
||||
/*for (int i = 0; i < LARGTIC; i++) {
|
||||
for (int j = 0; j < LARGTIC; i++) {
|
||||
grid[i][j] = " ";
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
void afficherImageTableau(std::string grid[][LARGTIC]) {
|
||||
@@ -322,5 +322,21 @@ void historiqueDesScores() {
|
||||
|
||||
//Changer le th<74>me
|
||||
void changerLeTheme() {
|
||||
system("cls");
|
||||
cout << endl << "Changer le theme du jeu Tic Tac Toe" << endl
|
||||
<< "Options des styles: " << "\nA) Ocean"
|
||||
<< "\nB) Fantaisie" << "\nC) Espace"
|
||||
<< "\nD) Animaux" << "\nChoisir une option: ";
|
||||
choix = toupper(_getche());
|
||||
cout << endl;
|
||||
|
||||
switch (choix) {
|
||||
case 'A': {
|
||||
break;
|
||||
}
|
||||
|
||||
case 'B': {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user