Puzzle solving algorithm. Successive moves may take us away from the goal.

creator avatar