9 Years Ago
This approach looks at the score of each goal for each layer of depth, and traverse down the best scoring path in the goal hiararchy until it reach the end.