A fun video to watch. Very Impressive!

The technique uses a genetic algorithm to training a neural network. A paper with more details can be found at, Evolving Neural Networks through Augmenting Topologies (NEAT)