static void UIMenu() { //==============================================================// Tablero miTablero = new Tablero(); string elec = String.Empty; string[,] juego = new string[25, 80]; int x = 0; int y = 0; do { Console.Clear(); Console.SetCursorPosition(0, 0); Console.WriteLine("\n\n\t\t\tBIENVENIDO A EL JUEGO DE LA VIDA"); Console.WriteLine("================================================================================"); Console.WriteLine(" 1.Ver controles\n"); Console.WriteLine(" 2.Jugar\n"); Console.WriteLine(" 3.Cargar partida\n"); Console.WriteLine(" 0.Salir\n"); x = Console.CursorLeft; y = Console.CursorTop; Console.SetCursorPosition(50, 24); Console.Write("®By Amador Fernández González"); Console.SetCursorPosition(x, y); Console.Write(" Elija una opción: "); elec = Console.ReadLine(); switch (elec) { case "0": return; case "1": Controles(); break; case "2": ArrancaJuego(); //Cede el control y arranca el juego break; case "3": juego = miTablero.CargarTablero(); ArrancaJuego(juego); break; } } while (true); }