Definition: Ai is a branch of computer science concerned with
teaching computers to think. It has had some success in areas like static and
moving image recognition but less so in for example playing Chess. It has taken
over 40 years to create computer Chess players able to beat Chess Grandmasters,
but that's down to faster CPUs not
software.
In computer games, AI techniques are used to find shortest paths through complex environments, anticipate human player's moves and fight like a human opponent, adapting to your every move.

