protected Card selectCard() throws GameException {
        
      
        int row;
        int column;
        Card card = null;
                
        Scanner input = new Scanner(System.in);
        boolean validCard = false;
        
        if (validCard==false)
        {
            System.out.println("Enter a row number for the card:");
            row = input.nextInt();
            if (row < 0 || row > (board.getRowCount() -1)){
                throw new GameException(Error.ERROR102.getMessage());
                /*displayError();
                System.out.println("Please enter a value between 0 and "+ (board.getRowCount() -1));*/
            }
            
            System.out.println("Enter a column number for the card:");
            column = input.nextInt();
            if (column < 0 || column > (board.getColumnCount() -1)){
                throw new GameException(Error.ERROR102.getMessage());
                /*displayError();
                System.out.println("Please enter a value between 1 and "+(board.getColumnCount() -1));*/
            }
            
            card = board.getCard(row, column);
            
            if(card.isMatched())
            {
                throw new GameException(Error.ERROR107.getMessage());
                /*System.out.println("That card has already been chosen"
                        + "\nPlease try a different card");*/
                //break;
            }
            else validCard = true;
        }// end while
        return card;
               
    }