How to make games with AI? | A Detail Guide

What is an AI in Simple Words?
In simple words, Artificial Intelligence (AI) actually refers to computer programs developed to copy human behaviors. Recommendations on YouTube and Netflix use AI to understand our behavior and give suggestion on that result.