static void Main(string[] args) { var logger = CreateFileLogger(); logger.Log("Initializing devices...", isError: false); var inputDevice = new ConsoleInputDevice(); var displayDevice = new ConsoleDisplayDevice(new Size(100, 30), "(( Snake ))"); displayDevice.Initialize(); var audioDevice = new StandardAudioDevice(); var xmlSerializer = new HiScoresXmlSerializer(); var hiScoresStorage = new HiScoresFileStorage("hiscores.dat", xmlSerializer, logger); GameRoot gameRoot = PureDiBoostrapper.CreateGameRoot( inputDevice, displayDevice, audioDevice, hiScoresStorage, logger); var hiScoresManager = new HiScoresManager(hiScoresStorage); var startNode = Graph.CreateGraph(hiScoresManager, hiScoresManager); gameRoot.StartGame(startNode); Console.CursorVisible = true; // cursor was not visible on Debian after exiting app }