public static void Main(string[] args) { gameThread = new GameThread(); Thread thread = new Thread(LaunchGameThread); thread.Start(); KeyListener.Initialize(); while (KeyListener.ReadConsoleKey()) { ; } gameThread.Stop(); }