How to use Genetic Algorithms in contests

Hi everyone. I started coding for some bot battles recently, and I saw that a lot of people are using Genetic Algorithms in those challenges. I’d like to try that too, but I’m a bit confused on how to train them: is there a way to run it directly online? Or do you have to code your own version of the game locally to find the best genes and simply “load” them to compare your bot to others?
I hope that’s clear ^^’

Not at all.

You don’t train a genetic algorithm. You can tune some parameters of your scoring function but I think you are confusing genetic algorithms with neural networks.
Using neural networks for Coders strike back.
And a genetic algorithm for the same game.


Thanks for your answer!

I was indeed a bit confused. Your example helped me a lot though, thanks!

You can also read these articles on the blog from @pb4 @Jeff06 and @Di_Masta

1 Like