Code that determines the outcome of a hockey match.