This AI program spawns a bunch of clones that move in random directions. When all of them die, It picks the clone that got the closest to the end at any point in it's path and then sends this path to the next set of clones, who approximately copy this path. After these clones finish the approximate path, they start moving randomly. Once they die, The process restarts until one of the AI make it to the finish.
All code and graphics by me