this is not a Ai you are racing against. It’s just a sensor that detects when it comes across a wall. I put a lot of work into this though (even though it’s really quite bad) so I kinda like it! There’s a little exploit I know you smart people will find so try not to use it!
I’m researching on how to make a true AI. Useing a technique called reinforcement that trains AI by rewarding them for good behavior like not running into a wall