Sequel from my other self-driving car genetic algorithm at @_paperN1 . Run the program for about 5 minutes, then see the car try to get to the dark green circle around the gray lines. Adjust display to show the cars in action or not. Adjust display_net to show the neural net or not. Setting both to 0 will make the program run much faster, just behind the scenes.
NOTE: It can be very difficult for the program to create a car that can actually reach the green circle. Genetic Algorithm. Synapse weights are determined by pseudo-DNA sequences, representing numbers. UPDATE 8/3/17: changed how the speed of the car behaves UPDATE 6/12/17: changed how laser inputs are calculated (instead of fully extended lasers having input 1, they have input 0) UPDATE 5/30/17: changed fitness function