private void GetValidTurn(out int o_Row, out int o_Col, out ExitOrCont o_ExitOrCont) { string turn; turn = Console.ReadLine(); if (turn.Length >= 2) { o_Col = GetNumOfColFromChar(turn[0]); o_Row = GetNumOfRowFromChar(turn[1]); } else { o_Col = 0; o_Row = 0; } o_ExitOrCont = ExitOrCont.Continue; while ((!CheckValidFormatOfATurn(turn) || !m_PlayGame.CheckValidRowCol(o_Row, o_Col)) && turn != "Q") { Console.WriteLine("Wrong Input, please pick a right cell"); turn = Console.ReadLine(); if (turn != "Q") { o_Col = GetNumOfColFromChar(turn[0]); o_Row = GetNumOfRowFromChar(turn[1]); } } if (turn == "Q") { o_ExitOrCont = ExitOrCont.Exit; } }