This is a generational algorithm in python, which uses my previous game Kawaii Tank Miniature as a base to train an AI to race on a track using raycasts and mutation of the tank’s run with the best fitness from the previous generation.
I used Claude to fix my absurd amount of bugs and apply constraints to the AI because I’ve got no idea how to do that. I think it did change some other minor stuff but I’m not sure what exactly, might have just tweaked a few settings.