Functional AI combat