I while back I wrote a little bit of javascript that calculated probabilities of winning battles in CivIII. I guess it's probably been done before, but if anyone want's a copy, I've put it online:
http://www.safalra.com/other/civilization.html
http://www.safalra.com/other/civilization.html