Dynamic scripting is an unsupervised online learning
technique for commercial computer games. In dynamic
scripting, the rules used in a script that controls an
opponent are extracted from an adaptive rule-base that
contains only manually designed rules. The probability
that a rule is selected for a script is influenced by a
weight value that is associated with each rule. The rule-
base adapts by changing the weight values to reflect
the success or failure rate of the corresponding rules in
scripts. Successful rules are rewarded with a weight
increase, whereas rules that lead to failure are punished
with a weight decrease.
This patch includes AI API and evaluation functions in C
to use the dynamic scripting technique.
Dynamic Scripting for Stratagus