Exemple #1
0
 private static BoardState GetStateOfBoard(string board)
 {
     if (board == null)
     {
         return(BoardState.INVALID_INPUT);
     }
     else
     {
         IPatterns patterns = new Patterns(board.ToUpper());
         return(patterns.CalculateResult());
     }
 }