Compare commits
2 Commits
078a2516e2
...
3c4a88adfe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c4a88adfe | ||
|
|
db00ac9352 |
@@ -1 +1 @@
|
|||||||
Press any key to continue . . .
|
Appuyez sur une touche pour continuer...
|
||||||
|
|||||||
@@ -97,13 +97,12 @@ void initTab(string grid[][LARGTIC]) {
|
|||||||
void afficherImageTableau(std::string grid[][LARGTIC]) {
|
void afficherImageTableau(std::string grid[][LARGTIC]) {
|
||||||
SetConsoleOutputCP(CP_UTF8);
|
SetConsoleOutputCP(CP_UTF8);
|
||||||
string emoteUp,
|
string emoteUp,
|
||||||
emoteLine,
|
|
||||||
emoteDown;
|
emoteDown;
|
||||||
// Faire une fonction pour retenir le th<74>me s<>lectionn<6E> par le joueur!!!!
|
// 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) {
|
if (monFlux) {
|
||||||
while (!monFlux.eof()) {
|
while (!monFlux.eof()) {
|
||||||
monFlux >> emoteUp >> emoteLine >> emoteDown;
|
monFlux >> emoteUp >> emoteDown;
|
||||||
}
|
}
|
||||||
monFlux.close();
|
monFlux.close();
|
||||||
cout << endl;
|
cout << endl;
|
||||||
@@ -130,27 +129,27 @@ void afficherImageTableau(std::string grid[][LARGTIC]) {
|
|||||||
cout << endl << " ";
|
cout << endl << " ";
|
||||||
|
|
||||||
for (int i = 0; i < LARGTIC; i++) {
|
for (int i = 0; i < LARGTIC; i++) {
|
||||||
cout << emoteLine;
|
cout << " |";
|
||||||
for (int j = 0; j < 3; j++) {
|
for (int j = 0; j < 3; j++) {
|
||||||
cout << " ";
|
cout << " ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cout << emoteLine << endl << " " << k + 1 << " ";
|
cout << " |" << endl << " " << k + 1 << " ";
|
||||||
|
|
||||||
|
|
||||||
for (int i = 0; i < LARGTIC; i++) {
|
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++) {
|
for (int i = 0; i < LARGTIC; i++) {
|
||||||
cout << emoteLine;
|
cout << " |";
|
||||||
for (int j = 0; j < 3; j++) {
|
for (int j = 0; j < 3; j++) {
|
||||||
cout << " ";
|
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