You can get some inspiration for API here (lots of material to analyze):
http://qt-project.org/doc/qt-4.8/animat ... rview.html




Code: Select all
/ 0 1 \
A = | |
\ 1 0 /Code: Select all
/ 0 2 \
A' = | |
\ 1 1 /

That would make him better than many human players and nullbotNoQ wrote: Maybe the whole AI could be made of exceptions?

So certain are you =/ The real question is how much readable the code will be.Giani wrote:That would make him better than many human players and nullbotNoQ wrote: Maybe the whole AI could be made of exceptions?


I am not sure if this will help you any but my understanding is that the stats for wz were (when being originally developed by pumpkin) represented as a full on database for the purpose of editing and were subsequently exported to text files in order to allow for easier modding and reading at run time.aubergine wrote:It's why I started the project to try and find a way of representing the tech tree in a big spreadsheet which would define more detailed info and categorisation for each research item. If I ever manage to finish that task and then convert the data in to JSON format, so it can easily be included in to an AI, then the code that interfaces with it will be very clean and readable, although perhaps non-transparent because it won't be clear from reading the code what it will research (because that is actually defined in-game by the actions of your opponents).

aubergine wrote:It's why I started the project to try and find a way of representing the tech tree in a big spreadsheet which would define more detailed info and categorisation for each research item. If I ever manage to finish that task and then convert the data in to JSON format, so it can easily be included in to an AI, then the code that interfaces with it will be very clean and readable, although perhaps non-transparent because it won't be clear from reading the code what it will research (because that is actually defined in-game by the actions of your opponents).
That is correct. It was built in MS Access db. The lead software engineer / designer burned a copy on CD and mailed it to us from their game dev studio in Bathe, England, in October 1999..dak180 wrote:I am not sure if this will help you any but my understanding is that the stats for wz were (when being originally developed by pumpkin) represented as a full on database for the purpose of editing and were subsequently exported to text files in order to allow for easier modding and reading at run time.




