Ajout d'un thème manuellement modifié, modification du visuel du tic tac toe
This commit is contained in:
@@ -93,13 +93,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;
|
||||
@@ -126,27 +125,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 << " ";
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user