Working of artificial intelligence with video tutorial

Can someone tell me how artificial intelligence works with a video tutorial?

as we are in a video game forum, I suppose you are talking about “IA in games”.
NPC behaviors has always beeing abusively named Artificial Intelligence. It has always beeing scripts that let you think that NPC are intelligents, but that’s wrong.
So… IA in games are scripts like “follow”, “avoid”, “shoot on”, “open my umbrella if it’s raining”, etc… and the association of these scripts can make some relatively complex behaviors.
The only games where there is some sort of real IA are Chess or Go, and they are based on huge data and training them.

I stop here as the subject is very interesting, and I hope some people will give their opinion on it.

Please use proper title instead of information armory blender and if it is not armory related than it is best to keep in #offtopic