Genetic Algorithms
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
What to do next
Know that you have basic knowledge of Genetic Algorithms, the next step is to read more about GAs and try them out for yourself. Here are a few resources on GAs you might find useful:
- Magus' article on how to solve the Coders Strike Back puzzle on CodinGame
- Course on Genetic Algorithms with cool visual explanations by M. Obitko
- Another course on Genetic Algorithm by Alexander Schatten
- This simulation of iterating to design the perfect car
And once you're done, take a look at (Mars Lander):
A CodinGame puzzle where you have to land a mars rover and a flat surface. You don't have to use GAs to solve it but you can
The goal is to land, without crashing it, the capsule "Mars Lander" which holds the rover Opportunity.
[float, int, float, int, float, int...]
the angle (-90° to 90°) and the rocket thrust (0 to 4) on each turn.
Here is an example of solution for solving this puzzle using a genetic algorithm. Its fitting score is calculated with the final distance to the landing platform.
You can also take a look at these problems:
- Game of Drones puzzle on CodinGame
- Fantastic Bits puzzle on CodinGame
- Coders Strike Back puzzle on CodinGame
- Lab Rat Race Challenge on StackExchange