Basketball makes a person really lean especially if you play regularly with a good diet. Just try to have protein on every meal with your carbs - eggs, chicken, steak, nuts (could get expensive tho). I would even invest in protein shake on times where its hard to prepare food.
If trying to bulk up, just replenish calories you lost from playing ball. I drink choc milk but that's just me.