The AI learns. When playing Mario, at first, the AI tries to do nothing. It will see that doing nothing is not how the game is supposed to be played – and therefore it will try to move. Eventually, it will run into a wall and see that simply moving is not enough. After several attempts it will jump over the wall; most likely by accident. It will soon learn that jumping is very important to reach the goal – and thus it will jump more often. At some point, it will jump into an enemy. Step by step the AI will make more and more progress until it eventually reaches the goal.
However, one important question rises here: How is this useful for us? I want to use this blog to look at my topic from a less technical standpoint. I want to answer this kind of rising questions that might be unclear – thus, this blog follows a Q&A approach.