A basketball player attempts a layup in a gymnasium .