Dear Tim,
You should have a talk with your friend.You could say,"Next time we play basketball,I think we should play by the rules so that it is fair for everyone." Tell him that it is more important to have fun than to win. Maybe you and your frinds could play once in a while without keeping score. If no one wins or loses,you can enjoy yourselves.
Yours,
Jimmy