Children need to play and it needs to be fun. If it's not fun they will lose interest. Playing is important at any age. I asked my son why he plays soccer at recess everyday since it's a sport he does not play in a formal league. At recess there are no coaches, no parents, no officials and no pressure.
Kids can make up the teams and the rules to make sure they have fun.
The same should happen at home. If you're wondering why all of a sudden your child does not want to play basketball with you, think back to the last few times you were outside playing together. If so, you may have taken the fun out of your child's play. Next time you go outside to play with your child, try to make an honest effort to let your child decide what you'll play and what the rules will be. Don't correct, explain or demonstrate unless you're asked.