I asked Google Gemini how to code AI. (Don't ask why) Overall, they did pretty well, but I did have to do a few tweaks for it to work. I hope this test helps.