See original project "Maze Pathfinder" by @tacotuesdayx: https://scratch.mit.edu/projects/971120361 The code has been modified by assigning different weights as the "Costume Names" in the "Tile" section. The weights (costume names) were 1,2,3..max_weight but now they are 0,1,10,100..10^(max_weight-2) This remix with altered weights does not work yet. The default weights with max_weight=2 are weights=(0,1) each with 50% probability. The program finishes but the correct path is not found. Furthermore, negative weights cause an infinite loop and the program does not finish. https://www.perplexity.ai/search/In-the-astar-oLXRtyQbSjyOHIJ5QK2oqQ We would like to use e.g. weights = [-10,1,100] to get the most difficult problem. The lower-bound "heuristic" of the A* algorithm needs to be updated given my modification of the weights.
This is a remix of Maze Pathfinder by @tacotuesdayx Work in progress