Came across a tool that's designed for writing, what is in effect, solo adventures. And since it supports both stored variables and a random number generator, there's no reason why you couldn't write a combat randomizer in the background. It's called Twine, and the development system and is multi-platform: Windows, Mac, Linux via Python. And it's free to use and free to release. You can put your developed stories on web sites or burn them to CD.
I can't say that I've worked with this, but it looks like it has huge potential and definitely seems worth looking in to. It has a GUI interface where each block has a name and text with code for options, the code branches to other blocks. Seems fairly straightforward. It was used to develop a recent Hamlet Choose-your-own Adventure that was massively funded on Kickstarter.
This is pretty cool.
http://www.gimcrackd.com/etc/src/
http://www.wired.com/underwire/2012/12/hamlet-choose-adventure/?pid=8876&viewall=true
I can't say that I've worked with this, but it looks like it has huge potential and definitely seems worth looking in to. It has a GUI interface where each block has a name and text with code for options, the code branches to other blocks. Seems fairly straightforward. It was used to develop a recent Hamlet Choose-your-own Adventure that was massively funded on Kickstarter.
This is pretty cool.
http://www.gimcrackd.com/etc/src/
http://www.wired.com/underwire/2012/12/hamlet-choose-adventure/?pid=8876&viewall=true