This simulation is meant to roughly mirror the AI learning algorithim known as NEAT. This is a partial implementation because of the lack of speciation, however the agents are able to solve this task well and optimize their route quickly.
The Agents in this implementation have two detectors facing 45 degrees from forwards that tell them the distance to the wall in that direction (as a percent of the maximum detectable distance).
Code
Made in December 2019