création d'une branche secondaire (je pense que ç'a marché)

This commit is contained in:
Lea
2025-11-28 09:42:12 -05:00
parent 0d64de9007
commit 3ac1c10f8a
2 changed files with 5 additions and 15 deletions

View File

@@ -339,6 +339,7 @@ void tourOrdi(string grid[][LARGTIC]) {
vertical = rand() % (3);
horizontal = rand() % (3);
} while (grid[vertical][horizontal] != "");
grid[vertical][horizontal] = iconJ2;
afficherImageTableau(grid, style);
}

View File

@@ -23,28 +23,17 @@ int main() {
switch (choix) {
case 'A':
if (theme == true) {
system("cls");
jeuUnJoueur(grid);
}
else {
cout << "\n\nVeuillez choisir un theme d'abord.";
}
break;
case 'B':
if (theme == true) {
system("cls");
jeuDeuxJoueurs(grid);
}
else {
cout << "\n\nVeuillez choisir un theme d'abord.";
}
break;
case 'C':
changerLeTheme(theme);
theme = true;
break;
case 'Q':