diff --git a/TicTacToe/fonctions.cpp b/TicTacToe/fonctions.cpp index 17d3e9b..1f03dcb 100644 --- a/TicTacToe/fonctions.cpp +++ b/TicTacToe/fonctions.cpp @@ -87,11 +87,11 @@ void afficherImageMenu(std::fstream& monFlux) { //Gιnι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θ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': { + + } + } } \ No newline at end of file diff --git a/TicTacToe/themes/themeAnimaux.txt b/TicTacToe/themes/themeAnimaux.txt new file mode 100644 index 0000000..7256e12 --- /dev/null +++ b/TicTacToe/themes/themeAnimaux.txt @@ -0,0 +1,4 @@ +πŸƒ +🌳 +πŸ„ +🐏 \ No newline at end of file diff --git a/TicTacToe/themes/themeEspace.txt b/TicTacToe/themes/themeEspace.txt new file mode 100644 index 0000000..9b8f4c8 --- /dev/null +++ b/TicTacToe/themes/themeEspace.txt @@ -0,0 +1,4 @@ +πŸͺ +✨ +πŸ‘½ +πŸ§‘β€πŸš€ \ No newline at end of file diff --git a/TicTacToe/themes/themeFantasy.txt b/TicTacToe/themes/themeFantasy.txt new file mode 100644 index 0000000..732ba61 --- /dev/null +++ b/TicTacToe/themes/themeFantasy.txt @@ -0,0 +1,4 @@ +πŸͺ„ +🏰 +πŸ¦β€πŸ”₯ +πŸ‰ \ No newline at end of file diff --git a/TicTacToe/themes/themeGrass.txt b/TicTacToe/themes/themeGrass.txt deleted file mode 100644 index 66ef0c9..0000000 --- a/TicTacToe/themes/themeGrass.txt +++ /dev/null @@ -1,2 +0,0 @@ -🌡 -🌱 \ No newline at end of file diff --git a/TicTacToe/themes/themeSea.txt b/TicTacToe/themes/themeSea.txt index 732a3b7..2bbe794 100644 --- a/TicTacToe/themes/themeSea.txt +++ b/TicTacToe/themes/themeSea.txt @@ -1,2 +1,4 @@ 🌊 -πŸͺΈ \ No newline at end of file +πŸͺΈ +πŸ¦€ +🐬 \ No newline at end of file