BROKEN ENGINE Demonstration of using neural networks and a genetic algorithm to make an ever-improving self-driving car. Turn draw? variable on or off to show cars or not (turning draw? off makes the project run faster). Press space to pause/unpause. Each car fires lasers and the lasers extend until reaching maximum radius or hitting an object. The 9 inputs of the car's neural network are determined y the lengths of these laser lengths, and the two outputs are the speed of the car and the angle to turn.
YouTube for inspiration.