diff --git a/ChessTest3/Program.cs b/ChessTest3/Program.cs index da3aaf3..ad4591e 100644 --- a/ChessTest3/Program.cs +++ b/ChessTest3/Program.cs @@ -792,7 +792,7 @@ namespace ChessTest3 Console.BackgroundColor = ConsoleColor.White; Console.WriteLine("Welcome to the chess game! Would you like a standard game or a custom game? Type S for standard, or C for custom"); string input = Console.ReadLine(); - if (input == "Y" || input == "y") + if (input == "S" || input == "s") { Board board = new Board(); board.Initialize(); @@ -822,6 +822,12 @@ namespace ChessTest3 ErrorChecking.GameEnd(board.CheckMateBlack); Console.ReadKey(); } + else if (input == "C" || input == "c") + { + string text = System.IO.File.ReadAllText(@"C:"); + System.Console.WriteLine(text); + System.Console.ReadKey(); + } } } }