Difference between revisions of "AI Refactoring2009Crab"

From The Battle for Wesnoth Wiki
m (CURRENT:)
(fix heading level)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=CURRENT:=
+
== CURRENT WORK ==
ai_interface.hpp
 
ai.cpp
 
ai.hpp
 
ai_manager.cpp
 
ai_manager.hpp
 
formula_ai.cpp
 
formula_ai.hpp
 
  
Remove info parameter from ai constructor (it will still be gettable through .get_info(), even in constructor, for all is needed to get it is 'side' and static 'ai_manager' method)
+
=== extract gamestate-changing actions from AI code to separate classes.===
Move location of info structure from ai_interface to ai_manager.
+
 
Change ai_interface methods to use get_info() instead of direct access
+
<b>TESTING</b> ai movement.
 +
 
 +
<b>NOW</b> ai attacks.
 +
 
 +
<b>DONE</b> ai recruiting.
 +
 
 +
<b>DONE</b> 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.
 +
 
 +
[[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.

This page was last edited on 7 April 2023, at 15:46.