In earlier work, James Paul Gee argued that good commercial digital games provide players with good learning. By good learning he meant learning that is guided by and organized by principles empirically confirmed by systematic research on effective and deep learning in the learning sciences.
Digital games are, at their heart, problem solving spaces that use continual learning and provide pathways to mastery through entertainment and pleasure. Not surprisingly, there has been a growing interest recently in so-called serious games that involve learning the sorts of domains, skills, or content that we associate with school, work, health, citizenship, knowledge construction, or community building, and not limited to pure popular form of entertainment (i.e., witchcraft, sorcery, fantasy war, etc.).
In this article, Gee suggests games can be used for different types of learning and that there are lots of features of good entertainment games that make them good for learning.