private int updatePlayerProfile(List<List<Moves>> playersDecisions) {
        int hunts_num = 0;
        for (int i = 0; i < participants.size(); i++) {

            List<Moves> player_moves = playersDecisions.get(i);

            int k = 0;
            for (int j = 0; j < i; j++)
            {
                List<Moves> opp_moves = playersDecisions.get(j);
                participants.get(i).updateReputation(player_moves.get(k));

                if(player_moves.get(k) == Moves.Hunt)
                {
                    hunts_num++;
                    if(opp_moves.get(i - 1) == Moves.Hunt)
                    {
                        participants.get(i).updateFood(0);
                    }
                    else
                    {
                        participants.get(i).updateFood(-3);
                    }
                }
                else
                {
                    if(opp_moves.get(i - 1) == Moves.Hunt)
                    {
                        participants.get(i).updateFood(1);
                    }
                    else
                    {
                        participants.get(i).updateFood(-2);
                    }
                }
                k++;
            }
            for (int j = i + 1; j < participants.size(); j++)
            {
                List<Moves> opp_moves = playersDecisions.get(j);
                participants.get(i).updateReputation(player_moves.get(k));

                if(player_moves.get(k) == Moves.Hunt)
                {
                    hunts_num++;
                    if(opp_moves.get(i) == Moves.Hunt)
                    {
                        participants.get(i).updateFood(0);
                    }
                    else
                    {
                        participants.get(i).updateFood(-3);
                    }
                }
                else
                {
                    if(opp_moves.get(i) == Moves.Hunt)
                    {
                        participants.get(i).updateFood(1);
                    }
                    else
                    {
                        participants.get(i).updateFood(-2);
                    }
                }
                k++;
            }
        }

        return hunts_num;
    }