Board Thread:Questions and Answers/@comment-24720902-20130901232004/@comment-15296152-20130902174208

A.I. is simply reactions from fixed functions using data that can be different each time.

Like, an enemy will not move until your character gets close enough, to which then the enemy slowly moves towards your character. This would require knowing hte distance between the character and the enemy, and using an IF statement. If the statement is true (that the distance is less than a certain amount), then you'd go about moving the enemy towards the character. If false, then the enemy does nothing.

This is simple A.I. because it is one reaction, whereas complex A.I. is based on multiple reactions, some which are chained together to produce numerous combinations of resulting actions. Some will even give different results when the same input data is used because the functions themselves are incremental. They're all based on "IF" statements.