I took the code and tinkered with a bit. Did not add any new fancy functionality, mostly just moved functions around and tried to somewhat "clean up" the code - at least IMO
I factored out a sort of population management and simulation running library and two tools that use it - the GA tool and show_population tool. Those two can be called with different parameters to have different populations evolving without having to duplicate code files.
One "feature" I did work on was the evolving speed - disabling uke, tori, hud, blood, trails, antialiasing, and setting fixedframerate to 0 can be achieved by pressing 'v' (for visibility) which gives quite a speed boost and also minimizing the screen further improved the speed about 2 times for me.
I also implemented a "lookaside" cache that compares the individual to other recent ones and if it's been seen, automatically recalls it's fitness. This is mostly useful if you have low mutation going on and have reached a fairly stable move - sometimes about half of the individuals are slight variations of the same move and can be skipped from the full simulation.
Thats it, I put the code to github:
http://github.com/windo/toribash-evolver
Not sure if it was just a weekend-type of project or if I'll be improving it further but someone else can do another round of improvements if they feel like it
I certainly got some cool moves out of it (some examples attached).