LUCIDGames: A technique to plan adaptive trajectories for au