First off, I would guess that you did something off the wall and scored.

A basketball is round. Circular objects imply the soul because a circle has no beginning and no end. Dreams frequently use sports and competitive games as a metaphor for life.

The fact that a basketball is used in competition leads to the idea that you did something out of the box and it helped you win something maybe.

Now the question is, is it referring to something that already happened, or is the dream making a recommendation? If it is a recommendation, the dream may be saying, that in order to beat the competition, you may need to do something off the wall.