Added exit haha

This commit is contained in:
2024-04-28 21:38:01 +03:00
parent 4898bea338
commit 67fdfe28a1

View File

@@ -33,6 +33,9 @@ while (!quit)
case "issolved":
Console.WriteLine(board.IsBoardSafe() ? "Ферзи в безопасности!" : "Задача не выполняется");
break;
case "exit":
quit = true;
break;
default:
Console.WriteLine($"Неизвестная команда '{cmd[0]}'");
break;