public ArrayList<Pawn> getOpponentPawns(ArrayList<Player> opponents) {
        ArrayList<Pawn> opponentPawns = new ArrayList<Pawn>();
        for (Player opponent : opponents) {
            if (opponent.getColor().equals("green")) { opponentPawns.addAll(new ArrayList<Pawn>(Arrays.asList(greenPawn)));}
            else if (opponent.getColor().equals("red")) { opponentPawns.addAll(new ArrayList<Pawn>(Arrays.asList(redPawn)));}
            else if (opponent.getColor().equals("blue")) { opponentPawns.addAll(new ArrayList<Pawn>(Arrays.asList(bluePawn)));}
            else if (opponent.getColor().equals("yellow")){ opponentPawns.addAll(new ArrayList<Pawn>(Arrays.asList(yellowPawn)));}
        }
        return opponentPawns;
    }