public boolean isClaimable(Edge e,Color c){
        int isFerry=0;
        if(e.isFerry())isFerry =1;
        for(Edge edge : edges.getEdges()){
            if(e.equals(edge)){
                if(enoughCards(edge,isFerry))

                    if(claim(e,currentPlayer.getPlayerNum())){
                        currentPlayer.addEdge(e);
                        int index = players.indexOf(currentPlayer);
                        JOptionPane.showInputDialog("Player"+
                            index+"claimed");
                        currentPlayer = getNextPlayer(currentPlayer);
                        break;
                    }else if(!enoughCards(edge,isFerry)){
                    }
                    else{
                }
                if(claim(e,currentPlayer.getPlayerNum())&&
                enoughCards(edge,isFerry)){
                    currentPlayer.addEdge(e);
                    int index = players.indexOf(currentPlayer);
                    JOptionPane.showInputDialog("Player"+index+"claimed");
                    currentPlayer = getNextPlayer(currentPlayer);
                    break;
                }else if(!enoughCards(edge,isFerry)){

                }
                else{

                }
            }   
        }
        return false;
    }