static void Main(string[] args) { GameState game = new GameState(); game.ShowBanner(); game.GetInput(); Console.Clear(); game.Draw(); game.Run(); while (!gameover) { ConsoleKeyInfo consoleKeyInfo = Console.ReadKey(); if (consoleKeyInfo.Key == ConsoleKey.K) { Serialize(game); } else if (consoleKeyInfo.Key == ConsoleKey.L) { game.Stop(); game = Deserialize(); game.Draw(); game.Run(); } else { game.ProcessKeyEvent(consoleKeyInfo); } } }