situation cries out for taking a wargame builder like The War Engine, adding the ability to make an AI and give everyone (not just computer programmers) the opportunity to literally build their own wargame with an AI.
Yeah, having a game that allows people to build their own 'wargame' perhaps (relatively) isn't impossible (see TOAW) but having an AI...mmm??).
Now creating an AI to work with the above, i.e. against any set of rules that the can be altered and with any terrain and with any map etc...well, your in HAL territory there.
Unless of course you have scripting (text/html/csv doesn't matter). And scripting [:)]is really programming...