Types of Artificial Intelligence?

Artificial Intelligence, or AI, is when a human programmer writes into existence a script that allows a computer, video game character, or program to behave as though it is thinking for itself. Whenever you are playing a video game, and you are cursing loudly because an enemy is very difficult and very smart, and continues causing your demise, it is because a programmer painstakingly gave the enemy character artificial intelligence.