public void init(int nplayers, int[] pref) {
	    preference = pref;
	    n_players = nplayers;
	    n_bowls = nplayers*2; // Since there are 2 rounds
		playerIndex = this.getIndex();
		bowlsSeen[0] = 0;
		bowlsSeen[1] = 0;

		originalDistribution = new int[NUM_FRUITS];
		currentDistribution = new int[NUM_FRUITS];
	    bowls_seen = new int[2];

	    // Since there are 2 rounds
	    n_bowls = nplayers*2;

	    originalDistribution = new int[NUM_FRUITS];
	    currentDistribution = new int[NUM_FRUITS];
	    fruitHistory = new int[n_bowls][NUM_FRUITS];

	    for (int i=0 ; i<n_bowls ; i++){
		    for (int j=0 ; j<NUM_FRUITS ; j++){
			    fruitHistory[i][j] = 0;
		    }
	    }

	    fruit_probs = new double[NUM_FRUITS];
    }