Generating trees for player