Artificial intelligence (AI) in computer games is programming to make the computer behave as though it is intelligent. Typically, this may be showing intelligence behind a character or object that is controlled by the computer.
This is not normally the same as machine learning which is what people often associated with artificial intelligence. Machine learning is a type of artificial associated with other systems such as speech recognition or pattern recognition.
In a computer game, artificial intelligence could be as simple as a pre-determined route that the enemy takes, ...