An 18-year-old from Barnstable collapsed while he was playing basketball Tuesday night at the Hyannis Youth Center and later died, according to police. The teenager, whose name was not disclosed, was playing “a normal basketball game,” according to Lieutenant Michael Clark, a spokesman for the Barnstable Police Department. He was in cardiac arrest when police arrived and was given medical assistance. He was pronounced dead at Cape Cod Hospital around 8:15 p.m, according to Clark. The teen was a student at Barnstable High School, where grief counselors will be available for students this week, starting Wednesday at 10 a.m.

M.G. Lee can be reached at matt.lee@globe.com. Follow him on Twitter @m_g_lee.