Arrows up and down for some infos on the actual generation E to see the the view distance, direction (red) and the velocity to avoid spikes (green) of everyone approach you mouse of a kirby to make the same thing on a single individual
inspired by the video of laupok on how he did an AI on Super mario world : https://www.youtube.com/watch?v=F63GNXGHVwM at each generation, 30 kirbys are spawned with 3 attributes : speed, size, and health On the first the generation, these attributes are just random On the other generations, the attributes are given by doing the average of the best kirby of the previous generation and one other kirby with possible mutations : we are doing a child of these kirbys If you let the simulation goes on for some time, the population will slowly converge to a state were every attributes a maximized to give the more chance to the individual of surviving The goal with this simulation is not to make an accurate representation of life in the real world, it's just to show how the natural selection works