Well, in my opinion, you should not go and play basketball when you suffer pink eyes. And generally speaking, pink eye is a common eye infection which occurs in both adults and kids. And also, the infection normally occurs during rainy and wet season. When it occurs, redness and swelling in the eyes can be possible. And at this moment, you need to be careful about your eyes, or it will just be serious. And if you go and play basketball, it will just make your eye be stressed, and sweating may occur too. In that way, it will just make your eye pink infected heavily. So you should avoid it. To treat it, you need to have some cold compresses. And having a good rest is also essential.