Compare commits
2 Commits
6c10a2ab05
...
957e9e7221
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
957e9e7221 | ||
|
|
5597f5248d |
@@ -98,7 +98,7 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
|
|||||||
ouvrirFichier(monFlux, style);
|
ouvrirFichier(monFlux, style);
|
||||||
if (monFlux) {
|
if (monFlux) {
|
||||||
while (!monFlux.eof()) {
|
while (!monFlux.eof()) {
|
||||||
monFlux >> emoteUp >> emoteDown >> iconJ1 >> iconJ2;
|
monFlux >> emoteUp >> emoteDown >> ICONJ1 >> ICONJ2;
|
||||||
}
|
}
|
||||||
monFlux.close();
|
monFlux.close();
|
||||||
cout << endl;
|
cout << endl;
|
||||||
@@ -109,6 +109,9 @@ void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
|
|||||||
}
|
}
|
||||||
fermerFichier(monFlux);
|
fermerFichier(monFlux);
|
||||||
|
|
||||||
|
grid[0][0] = ICONJ1;
|
||||||
|
grid[0][1] = ICONJ2;
|
||||||
|
|
||||||
// Lignes de code pour faire afficher le Tic Tac Toe une fois que les symboles ont <20>t<EFBFBD> ajout<75>s
|
// Lignes de code pour faire afficher le Tic Tac Toe une fois que les symboles ont <20>t<EFBFBD> ajout<75>s
|
||||||
cout << " ";
|
cout << " ";
|
||||||
for (int i = 0; i < LARGTIC; i++) {
|
for (int i = 0; i < LARGTIC; i++) {
|
||||||
@@ -340,7 +343,7 @@ void jeuDeuxJoueurs(string grid[][LARGTIC]) {
|
|||||||
|
|
||||||
//Changer le th<74>me
|
//Changer le th<74>me
|
||||||
void changerLeTheme() {
|
void changerLeTheme() {
|
||||||
string grid[LARGTIC][LARGTIC] = {ICONJ1, ICONJ2};
|
string grid[LARGTIC][LARGTIC];
|
||||||
system("cls");
|
system("cls");
|
||||||
do {
|
do {
|
||||||
cout << endl << "Changer le theme du jeu Tic Tac Toe" << endl
|
cout << endl << "Changer le theme du jeu Tic Tac Toe" << endl
|
||||||
|
|||||||
@@ -2,3 +2,4 @@
|
|||||||
🔹
|
🔹
|
||||||
✖️
|
✖️
|
||||||
⭕
|
⭕
|
||||||
|
|
||||||
Reference in New Issue
Block a user