Condition theme
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user