public static void Play() { var game = new Game(10, 20); game.AddFigure(5, 5, Figures.Glaider); var cts = new CancellationTokenSource(); var view = new ConsoleView(); Task.Run(() => view.Run(game, cts.Token), cts.Token); Console.ReadKey(); cts.Cancel(); }