This is not true AI. It’s just a sensor that detects when it hits a wall. It’s still pretty cool though and I’m gonna make a game where you can race against the “Ai”.
I’m working on the sensor fo the Bot that allows it to turn right but it’s pretty hard because when it comes across turns it won’t turn because the left turn balances it out making it go forward into the wall.