Merge branch 'main' of https://gitea.zkd.ca/DEV_WEB/TicTacToe
This commit is contained in:
@@ -1 +1 @@
|
||||
Press any key to continue . . .
|
||||
Appuyez sur une touche pour continuer...
|
||||
|
||||
@@ -96,13 +96,12 @@ void initTab(string grid[][LARGTIC]) {
|
||||
void afficherImageTableau(std::string grid[][LARGTIC]) {
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
string emoteUp,
|
||||
emoteLine,
|
||||
emoteDown;
|
||||
// Faire une fonction pour retenir le th<74>me s<>lectionn<6E> par le joueur!!!!
|
||||
ouvrirFichier(monFlux, "themes/themeSea.txt");
|
||||
ouvrirFichier(monFlux, "themes/themeGrass.txt");
|
||||
if (monFlux) {
|
||||
while (!monFlux.eof()) {
|
||||
monFlux >> emoteUp >> emoteLine >> emoteDown;
|
||||
monFlux >> emoteUp >> emoteDown;
|
||||
}
|
||||
monFlux.close();
|
||||
cout << endl;
|
||||
@@ -129,27 +128,27 @@ void afficherImageTableau(std::string grid[][LARGTIC]) {
|
||||
cout << endl << " ";
|
||||
|
||||
for (int i = 0; i < LARGTIC; i++) {
|
||||
cout << emoteLine;
|
||||
cout << " |";
|
||||
for (int j = 0; j < 3; j++) {
|
||||
cout << " ";
|
||||
}
|
||||
}
|
||||
cout << emoteLine << endl << " " << k + 1 << " ";
|
||||
cout << " |" << endl << " " << k + 1 << " ";
|
||||
|
||||
|
||||
for (int i = 0; i < LARGTIC; i++) {
|
||||
cout << emoteLine << " " << grid[k][i] << " ";
|
||||
cout << " |" << " " << grid[k][i] << " ";
|
||||
|
||||
}
|
||||
cout << emoteLine << endl << " ";
|
||||
cout << " |" << endl << " ";
|
||||
|
||||
for (int i = 0; i < LARGTIC; i++) {
|
||||
cout << emoteLine;
|
||||
cout << " |";
|
||||
for (int j = 0; j < 3; j++) {
|
||||
cout << " ";
|
||||
}
|
||||
}
|
||||
cout << emoteLine << endl << " ";
|
||||
cout << " |" << endl << " ";
|
||||
|
||||
}
|
||||
|
||||
|
||||
2
TicTacToe/themes/themeGrass.txt
Normal file
2
TicTacToe/themes/themeGrass.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
🌵
|
||||
🌱
|
||||
@@ -1,3 +1,2 @@
|
||||
🌊
|
||||
🔹
|
||||
🪸
|
||||
Reference in New Issue
Block a user