BARNSTABLE, Mass. (AP) — Police say an 18-year-old high school student collapsed and later died while playing basketball at a Cape Cod youth center.

Police say the teen was playing "a normal basketball game" Tuesday evening at the Hyannis Youth and Community Center when he collapsed.

The teen, whose name was not made public, was in cardiac arrest when emergency personnel arrived.

He was taken to Cape Cod Hospital where he was pronounced dead at about 8:15 p.m.

The cause of death is under investigation.

The teen was a student at Barnstable High School, which is making grief counselors available starting Wednesday.