Artificial intelligence is the ability of a machine to mimic human behavior. Machine Learning is a subset of artificial intelligence. Deep Learning is a subset of machine learning
Artificial intelligence is the common term for technology that has been designed to solve some of the most serious problems of humankind, from pollution to climate change. It is used to solve the problems just like the human brain. In AI, we provide data and set the rules for the ai system, and draw the output from it. First rules are applied to the data and then we draw the conclusion or output from it.
Just like the Snake game, we start from a single point and set the rules to play the game. The game ends when the snake either moves off the screen or moves into itself. The output will be a game end or snake grows.