Original Post
Hello, I am working on a project which related to Game AI and I want to make a RPG with machine learning features included. My idea is that the enemies can learn player's attack and come up with defense or counter-attack but I hardly figure out which algorithm is the best to apply. As I know, Viterbi algorithm finds a sequence of hidden states and it is used in speech recognition. If the sequence of hidden states change to the observed events and players' attack to the creatures, the creatures will give respond on how they defense themselves and that might be the result I want to. Is the theory workable? Can Viterbi algorithm used in the situation? if anyone has a better idea... or has knowledge of this type of thing and can point me in the right direction, i would appreciate it. Reference : http://www.comp.leeds.ac.uk/roger/HiddenMarkovModels/html_dev/viterbi_algorithm/s1_pg1.html