private void takeTurns(){
        
        int totalScore=getScore1()+getScore2();
        setCurrentPlayer(getPlayer1());
        int currentScore = getScore1();
        Scanner inFile = new Scanner(System.in);
        do{
            System.out.println(getCurrentPlayer()+"'s Turn");
            board.display();
            try{
                card1 = selectCard();
                System.out.println("this card is: " + card1.getName());
                card2 = selectCard();
                System.out.println("this card is: " + card2.getName());
                match = checkMatch(card1, card2);
            }
            catch(GameException e){
                System.out.println(e.getMessage());
                System.out.println("Please try your turn again");
                continue;
            }
            
            if (match==true){
                currentScore++;
                System.out.println("Congratulations, you found a match! Your current score is: " + currentScore);
            }
            //else switch players
            else{
                if(getCurrentPlayer()==getPlayer1()){
                    setCurrentPlayer(getPlayer2());
                    currentScore=getScore2();
                }
                else
                    setCurrentPlayer(getPlayer1());
                    currentScore=getScore1();
            }
        }
        while (totalScore!=(board.getBoardSize()/2));
        
        if(getScore1()>getScore2()){
            System.out.println(
                    "\n\t*******************************************************************************"
                    + "\n\t\tGame Over.\nPlayer1 Wins!"
                    + "\n\t*******************************************************************************");
        }
        else if(getScore1()<getScore2()){
            System.out.println(
                    "\n\t*******************************************************************************"
                    +"Game Over.\nPlayer2 Wins!"
                    +"\n\t*******************************************************************************");            
        }
        else{
            System.out.println(
                    "\n\t*******************************************************************************"
                    +"Game Over.\nIt's a Tie!"
                    +"\n\t*******************************************************************************");            
        }
        /*Game game = new Game();
        GamePreferenceView gamePreferenceMenu = new GamePreferenceView(game);
        gamePreferenceMenu.getInput();*/
    }