A simple Genetic Algorithm that tries to replicate a target string of characters using a population of 10 strings, randomly generated, and uses things like mutations, reproduction, survival of the fittest, and other methods to replicate nature, which has a way of making the right things to happen.
I changed the way survival works so now half get killed and then the other half spawn more so population always stays at len of input string * 2 : also how they are killed is much simpler instead of a bunch a dif conditions and gradients the bottom half just gets killed, which tbh is more efficient than letting the best die and the worst survive ngl cuz that's just dum #genetic#algorithm#67