public static void ReplayLog(string path, Board.Board board, bool showcase) { try { string logString; using (System.IO.StreamReader file = new System.IO.StreamReader(path)) { logString = file.ReadToEnd(); } List <(int, int)> moveList = board.ParseLog(logString); board.Replay(moveList, showcase); } catch (Exception e) { Console.WriteLine("Recreading board position failed"); } }