In video games, artificial intelligence (AI) has been key to improving the gaming experience. AI has redefined how we play and enjoy this medium of entertainment. First, in the design of virtual worlds, AI algorithms generate landscapes and structures autonomously, creating rich and dynamic open worlds. As for non-playable characters (NPCs), the AI has given them increased intelligence, allowing them to make complex decisions and adapt to player actions. This has resulted in challenging enemies, helpful allies, and realistic playmates. In addition, the AI has made it easy to create adaptive game systems, adjusting the difficulty and providing personalized recommendations based on each player's style. Finally, AI has revolutionized content generation, automating the creation of levels, missions, and items, saving developers time and resources. In short, AI has transformed video games, driving innovation and delivering more immersive and personalized gaming experiences.