watch and if the car hits a wall or stops for an extended amount of time restart the project. sporadic pausing can be expected as the AI is expensive to run in real time
This AI sends many versions of itself into the future to test different throttles and steering positions to see what it has to do next to travel the most distance without hitting any walls. It fails when all versions hit the wall and the car gains no appropriate controls. This method makes the AI adaptable for any environment.