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