This is a simple A.I. I made as a test to see if it was possible. How it works: 1. Each clone creates a random string of numbers 0-3 that is as long as you tell it at the beginning 2. The main clone tells them to start moving 3. Instead of using the arrow keys like in a normal platformer, each clone runs through their number string, jumping if the current number is a 1, moving right if it's a 2, and so on. 4. Throughout the run, each clone updates it's score based on how far across the screen it is and how long it took to get to that point. 5. At the end the main clone figures out what the best score is and then checks if it is higher than the best run for all generations. If it is that is the new base for all the new clones 6. The new clones now have a string of numbers that is just a version of the best run with some modifications. 7. This cycle repeats over and over until the A.I. starts to get further and further along the level.
9/9/19 - improved the learning technique. I know this isn't the best way for learning, but this is my first attempt at a learning A.I. so you can cut me some slack. I'm considering making an extremely adaptable A.I. but I don't know if people would want it, so tell me in the comments if you think I should do it!