Those games do not have to be (and indeed better if they aren't) purposefully "educational" games, but rather fun games that happen to train a skill or concept applicable outside of the virtual universe.
(Inspired by https://news.ycombinator.com/item?id=23593872)