The first basketball hoop was a peach crate nailed to a railing. Use empty boxes, soccer balls, or whatever is available if you don't have access to a hoop.
[header] How to play basketball [title] Get a ball and a hoop. [step] All you need to play basketball is a ball of the appropriate size and a net that it fits through, set at a challenging-enough height. The specific requirements for regulation basketball are included below, but the history of basketball is the history of making do with what you have.