Recent years have seen artificial intelligence (AI) outperforming us in tasks we have mastered through millennia of evolution. How did games help AI in that endeavour? In turn, how can AI help us make better games? Is it possible that AI actually improves serious game design and supports game-based learning? In this talk I will address such questions by focusing on the importance of the relationship between AI and games. I will also showcase a plethora of research projects at the crossroads of AI and serious games which run currently at the Institute of Digital Games.