Hockey analytics code