You can see a demonstration of an genetic algorithm. The best creatures will have child's that will take the movements of the two parents + a mutation. So that, at the end, the creatures will reach their objective. Five creatures always make a random move. Five creatures are the best from the previous generation. Ten creatures are the descendants of the five best, plus one mutation. Note: You can enable turbo mode.