Spaceship genetic algo


      

    

Evolves a neural network to pilot a spaceship with an arbitrary thruster setup, with different objectives (face other ship, run away, etc.). Starts with a completely random neural network. Clicking Best shows an example of an evolved neural network (hundreds of generations) perform in the training situations. Uses darwin. Code on github.

Speed of simulation:

Face other ship:

Ram other ship:

Run away from ship: