Lucky Ducks
This is a simple and small simulation of genetic algorithms. There are ducks that are spawned in the scene, which have to figure out a way to reach the target, which is the bread. While doing so, it also has to avoid obstacles along the way (the black circles). A number of generations will be simulated, and we can see how the ducks evolve to go to the target in certain number of generations. Increase the lifespan of the entire simulation using the slider at the bottom of the screen, and restarting by pressing the button - "Restart". The number of total ducks will be 200, which can be changed in the code: https://github.com/keerthan657/LuckyDucks. Other parameters are self-explanatory, and the code is sufficiently commented to get through various genetic algorithm phases.
Status | Released |
Platforms | HTML5 |
Author | keerthan657 |
Made with | Unity |
Tags | 2D, Exploration |
Leave a comment
Log in with itch.io to leave a comment.