ajout des thèmes et début de la fonction changer le theme

This commit is contained in:
Lea
2025-11-26 10:03:56 -05:00
parent 3c4a88adfe
commit 1d7b71a802
6 changed files with 33 additions and 5 deletions

View File

@@ -87,11 +87,11 @@ void afficherImageMenu(std::fstream& monFlux) {
//G<>n<EFBFBD>ral (plusieurs options) //G<>n<EFBFBD>ral (plusieurs options)
void initTab(string grid[][LARGTIC]) { 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++) { for (int j = 0; j < LARGTIC; i++) {
grid[i][j] = " "; grid[i][j] = " ";
} }
} }*/
} }
void afficherImageTableau(std::string grid[][LARGTIC]) { void afficherImageTableau(std::string grid[][LARGTIC]) {
@@ -322,5 +322,21 @@ void historiqueDesScores() {
//Changer le th<74>me //Changer le th<74>me
void changerLeTheme() { 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': {
}
}
} }

View File

@@ -0,0 +1,4 @@
🍃
🌳
🐄
🐏

View File

@@ -0,0 +1,4 @@
🪐
👽
🧑‍🚀

View File

@@ -0,0 +1,4 @@
🪄
🏰
🐦‍🔥
🐉

View File

@@ -1,2 +0,0 @@
🌵
🌱

View File

@@ -1,2 +1,4 @@
🌊 🌊
🪸 🪸
🦀
🐬