Condition theme

This commit is contained in:
Sunny
2025-11-26 11:18:07 -05:00
parent 57ceb7a7c6
commit 45707bbab1

View File

@@ -25,15 +25,23 @@ 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':