Student dies after collapse in basketball game