Jump to content

AI Refactoring2009Crab: Difference between revisions

From The Battle for Wesnoth Wiki
Crab (talk | contribs)
New page: =CURRENT:= ai_manager ai_interface.hpp Move location of info structure from ai_interface to ai_holder (inside ai_manager) =NEXT:= ai.cpp Change ai_interface methods to use getInfo() ...
 
Egallager (talk | contribs)
fix heading level
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=CURRENT:=
== CURRENT WORK ==


ai_manager
=== extract gamestate-changing actions from AI code to separate classes.===
ai_interface.hpp


Move location of info structure from ai_interface to ai_holder (inside ai_manager)
<b>TESTING</b> ai movement.


=NEXT:=
<b>NOW</b> ai attacks.
ai.cpp
Change ai_interface methods to use getInfo()


<b>DONE</b> ai recruiting.


=NEXT:=
<b>DONE</b> ai set movement/attacks to 0.
@deprecate getInfo and add info() to ai_interface
 
=== 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.
 
[[Category:Summer_of_Code_2009]]

Latest revision as of 15:46, 7 April 2023

CURRENT WORK

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

TESTING ai movement.

NOW ai attacks.

DONE ai recruiting.

DONE 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.