On the basketball court, a crowd was playing, hissing, and the referee shouted nervously.