Watch it learn! Press space to see the numbers. It takes about an hour to see some big improvement. It could take anywhere from 1 to 1000 generations for the AI to learn how to catch the ball. I gave scratchy the ability to sleep which basically just rounds its weights and biases to optimize its performance.
There is 1 input neuron, 6 hidden layer neurons, another 3 hidden layer neurons, and 1 output neuron. I added an algorithm so that no 2 neural networks are alike. Doesn't look like much but it is. Updates: Mar 13, 2022: Patched some mathematical bugs. Mar 14, 2022: Patched some more mathematical bugs. Mar 17, 2022: Completely changed the program.