Dave, Sounds great! You might take a look at the project I started on AI with similar goals before real life interrupted my wesnoth coding ~6months ago. The general idea was outlined here: http://www.wesnoth.org/wiki/User:Darth_Fool, and some of the initial coding was done in src/ai_dfool*. I don't know when I will be able to get back into a regular wesnoth coding groove, but if you have any questions, as always, please ask. Having a more flexible AI for wesnoth is one of the big things I still see as holding wesnoth back, so I look forward to your new tools.
Darth Fool On Jan 28, 2008 12:25 AM, <[EMAIL PROTECTED]> wrote: > 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 > -- ------------------------------------------------------------------- "In theory, theory and practice are the same, but in practice they're different." ------------------------------------------------------------------- John W. C. McNabb ------------------------------------------------------------------- _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
