Hi there, this is my first post and I want to say hello to this awesome community. 
For past few days I was having fun with building Civ4 combat simulator in Javascript. There are lot of room for improvements but you can find current version on my student webpage:
http://web.studenti.math.pmf.unizg.hr/~sruzic/CivCombat/
It is based on this thread
I should add combat odds, not just round odds. Also I was thinking about collateral dmg, but I don't know how to implement it at the moment. If you have any suggestions or ideas, please let me know.

For past few days I was having fun with building Civ4 combat simulator in Javascript. There are lot of room for improvements but you can find current version on my student webpage:
http://web.studenti.math.pmf.unizg.hr/~sruzic/CivCombat/
It is based on this thread
I should add combat odds, not just round odds. Also I was thinking about collateral dmg, but I don't know how to implement it at the moment. If you have any suggestions or ideas, please let me know.