Hi everyone, I've been working on a new AI system for Wesnoth, and though its in its relatively early stages, I've started work in a branch which I welcome eager people to check out and try.
Basically, it is a port of the SilverTree formula language to Wesnoth, applying it to an AI. One can use this system to program an AI using formulas to calculate the best move. The aim is for it to be very simple and easy to use, and allow scenario designers to customize the AI heavily for their scenario. I am hoping it can be made easy enough to use such that anyone who is able to use WML can use it. At the moment I haven't developed a playable AI that uses it, but I have developed a framework which people can start to look at. The really nice feature I have working is that in the formula AI branch, one can type 'f' and a command line will appear (as when you type ':'). Then you can type a formula and it will be immediately evaluated and the result displayed. If nothing else, this adds a simple calculator to Wesnoth. :-) You can checkout the formula AI branch -- it's under branches/formula-ai (i.e. using svn co svn://svn.gna.org/svn/wesnoth/branches/formula-ai wesnoth-formula-ai). I have a test scenario with an AI that makes a few moves using formulas that you can access using --test when running Wesnoth from the command line. I have a Wiki page which documents how the AI works: http://www.wesnoth.org/wiki/WesnothFormulaAIBranch Help with developing the AI is welcome. In particular, I would welcome someone who knows how to play Wesnoth very well, who wants to develop formulas, and will make feature requests from me for what aspects of the game engine they need exposed to the formula system to make a powerful AI. David _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
