this took me about an or two hour to make The AI is based off the distance from it to the goal (the green is the goal.) It will randomly make a move, and if its farther away, make that move less, and if its closer, make that move more. This repeats until it gets a certain direction and makes it to the goal.
You can use this for yourself, its very simple to make and modify. You can replicate a woman simulator if you swap the punishment and reward with each other. (Just imagine the woman is the AI this time and you're the goal) If it hits the edge for too long restart it because its decided to build up the want to go in the opposite direction kinda like velocity in Super mario 64 This is legit one of the first times i've been proud of a scratch project that i've seen or made.