Hello, no this would not be considered an ai, this is a brute force car bot, the reason its brute force is because it doesn't actually learn and just uses luck and sensors to create a route to the finish line. the way it works: there are 3 important variables, speed, move, and riskiness, the most important is the riskiness, it forces the bot to go faster than before making it find faster routes. The bot uses 3 sensors to control speed and when/direction of the turn needed, and it also uses randomization to try and find the fastest route of any given track, using variables like riskiness to encourage it to go faster.
I made it myself, variables to edit, you can only really edit the speed variable.