Jump to content

AI Refactoring2009Crab: Difference between revisions

From The Battle for Wesnoth Wiki
Crab (talk | contribs)
mNo edit summary
Crab (talk | contribs)
m updated progress
Line 3: Line 3:
== extract gamestate-changing actions from AI code to separate classes.==
== extract gamestate-changing actions from AI code to separate classes.==


ai movement.
<b>TESTING</b> ai movement.


ai attacks.
ai attacks.
Line 9: Line 9:
<b>DONE</b> ai recruiting.  
<b>DONE</b> ai recruiting.  


ai set movement to 0.
<b>NOW</b> ai set movement/attacks to 0.
   
   


Line 16: Line 16:


== AI testing:==
== AI testing:==
set up a batch testing of 'ai vs ai' battles on my home computer, with results posted to db with a web frontend on a colocated server.
set up a batch testing of 'ai vs ai' battles on my home computer, with results posted to db with a web frontend on a colocated server. Current status: compiled 1.6 using freebsd ports (to auto-install most of the dependencies), added lua, copied my git repository to there, will try to compile trunk soon.

Revision as of 20:22, 22 April 2009

CURRENT WORK

extract gamestate-changing actions from AI code to separate classes.

TESTING ai movement.

ai attacks.

DONE ai recruiting.

NOW ai set movement/attacks to 0.


AI Lookup

implement ai lookup by scanning ai/ais directory for a list of ai configs.

AI testing:

set up a batch testing of 'ai vs ai' battles on my home computer, with results posted to db with a web frontend on a colocated server. Current status: compiled 1.6 using freebsd ports (to auto-install most of the dependencies), added lua, copied my git repository to there, will try to compile trunk soon.