A strategy planner for Age of Empires 2